Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Date datatype
Hi,
I found something strange about the date datatype.
See the following script.
The internal representations of DATE in a table
and in a in-line statement are different.
Does anyone know why Oracle uses two different internal representations of DATE?
Table created.
SQL> insert into test values (to_date('2000/01/01', 'yyyy/mm/dd'));
1 row created.
SQL> select dump(d) from test;
DUMP(D)
SQL> select dump(to_date('2000/01/01', 'yyyy/mm/dd')) from dual;
DUMP(TO_DATE('2000/01/01','YYYY
![]() |
![]() |