Hi,
My SQL Developer version is
I have a table T which has a column col of type Date
I fire:
select col from T;
I get the returned value as : 31-DEC-99
When I fire:
select to_char(col,'YYYY/DD/MM') from T;
I get the returned value as: 9999/31/12
However, when I fire:
select to_char(to_date('31-DEC-99','DD-MON-YY'),'YYYY/DD/MM') from dual;
I get the returned value as: 2099/31/12
What could be the reason of two different returned values when selecting from DUAL and T?