Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: oracle date format model
"Mark D Powell" <Mark.Powell_at_eds.com> wrote in
news:1104702715.541588.236950_at_c13g2000cwb.googlegroups.com:
> Iana, look again at the Mark's example. He has an explicit to_char
> around the to_date and the format mask for the to_char is 'MM/YY' so
> 02/97 is exactly what should have been returned.
> HTH -- Mark D Powell --
>
OP posted the following:
>However, I tried:
>
>select TO_CHAR(TO_DATE('0297', 'MM/YY'), 'MM/YY') from dual
>
>and there is no error returned. Instead the date is displayed properly
>(feb, 1997).
^^^^^^^^^^^^
![]() |
![]() |