Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Date Question
I don't think he is referring to the year zero problem.
He seems to be getting the following date when using sqlplus:
00-00-0000 00 00:00:00
while he gets the right date back when using pl/sql.
I for one am not able to reproduce this issue in 9.2.0.6.
ORA92> select to_char((trunc(sysdate)-732757),'DD-MM-YYYY AD
HH24:MI:SS')
from dual; 2
TO_CHAR((TRUNC(SYSDATE)-732757
Maybe its a bug .. and requires a patch.
Anurag Received on Tue Mar 21 2006 - 14:59:23 CST