About
Pricing
Community
Teams
Start Free Trial
Log in
sam2929
asked on
11/16/2017
Correct date format in sql developer
Hi,
I have date_created datatype date showing in sql developer as 06-09-29 can I display it in yyyy-mm-dd format.
Thanks
Oracle Database
3
1
Last Comment
Mark Geerlings
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Sean Stuber
11/16/2017
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
sam2929
11/16/2017
ASKER
I did alter session now date coming like 006-10-09
Mark Geerlings
11/16/2017
You apparently missed a "y". You need four of them as sdstuber suggested. You apparently executed this (with just three "y" characters):
alter session set nls_date_format='yyy-mm-dd
';
Correct version is:
alter session set nls_date_format='yyyy-mm-d
d';
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy