Hi Friends
I want to know the default format of date in oracle and how can I change this default format of date in oracle ?
Date Format in Oracle
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Hemant KumarRank #1,202 · 1.5K reputationPosted Jun 29, 2012, 2:34 AM EDT
You can change the default data format within Oracle by adjusting the
nls_date_format initialization parameter.Changing the default date format can be done at the session or system
level.
ALTER SESSION SET
NLS_DATE_FORMAT='DD/MM/YYYY';
ALTER SYSTEM
SET NLS_DATE_FORMAT='DD/MM/YYYY' scope=both;
Refer this link
http://dba-oracle.com/t_how_to_change_the_default_data_format.htm
Shankar MRank #874 · 2.5K reputationPosted Nov 27, 2012, 12:08 AM EST
You can get the Default NLS Parameter setting from,
SELECT *
FROM v$nls_parameters;
Thanks,
Shankar