Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NLS_DATE_FORMAT

user9972431Mar 10 2011 — edited Mar 10 2011
Oracle 10.2 standard
Hi,
I have to change the default date format.
I have issued
alter system set nls_date_format='YYYY-MM-DD HH24:MI:SS' scope=spfile;

It was successfull, but still sysdate showing only dd-mm-yyyy.

I have checked
select * from nls_instance_parameters;
select * from nls_session_parameters;
showing NLS_DATE_FORMAT to new alter system value, but

select * from nls_database_parameters;
showing old NLS_DATE_FORMAT??

I believe alter system and scope=spfile should reset this value forever and should retain after restart of database.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 7 2011
Added on Mar 10 2011
12 comments
3,199 views