EBS Customizations (MOSC)

MOSC Banner

How DATE datatpe can store "YYYYMMDD" ?

edited Oct 3, 2013 4:24AM in EBS Customizations (MOSC) 3 commentsAnswered
HI ALl,
In my environment , nls_date_format   is   DD-MON-RR. So it wont allow me to insert the data value as "YYYYMMDD".

I know that if I change the nls_date_formant as session / system then it will allow me.

But I would like to know what setting I can do with DATE dataype ..so that It should allow the date to be entered in that format ?

 insert into  tab values ('20130530');
insert into  tabvalues ('20130530')
                                 *
ERROR at line 1:
ORA-01861: literal does not match format string

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center