Home
AskTheOracle Blog
Oracle Tips & Tricks
Oracle Training
Oracle Tutorials
PL/SQL
SQL
Advanced Tutorials
Performance Tuning
Certification
Oracle 10g
Oracle 11g
Oracle and .Net
Oracle Utilities
Developer Tools
Oracle Questions?
Oracle News
Search This Site
About Us
Disclaimer
Privacy Policy
Contact Us
Subscribe To This Site
XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines

How can I change the defult date format in oracle10g enterprise?

Question: I use alter session & NLS_DATE_FORMAT, but it's not working.





The ALTER SESSION in Oracle SQL only affects the current session (as the name implies). This means that anybody else connected to the database won't be affected and neither will any future sessions - so if you log off and log on again, the NLS_DATE_FORMAT reverts to the default (which is set by database initialisation parameters).

Therefore to change the date format for everyone you will need to change the NLS_DATE_FORMAT parameter in the Oracle database initialisation file.

Oracle documentation covers globalization settings quite comprehensively in the Oracle database installation guide but settings can be changed after installation (as noted above) by changing the values of parameters.

Click here to post comments.

Join in and write your own page! It's easy to do. How?
Simply click here to return to Oracle Questions
.