Skip to Main Content

SQL & PL/SQL

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!

to_date do not work

francy77Jul 12 2011 — edited Jul 13 2011
Hi all,
i cannot figure out why happen a things like this one:

I run
select to_date(dt_creazione_evento,'DD-MM-yyyy HH24.MI') from eventi_pm

and the output is:

02/07/0010

while should be
02/07/2010

where has gone the 2??

If i use RR instead of YYYY, it works fine also i use YY, but if i put 4 Y it lost the 2.

thanks
Francesco
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2011
Added on Jul 12 2011
21 comments
4,513 views