How to convert a number to date? [message #36092] |
Mon, 05 November 2001 01:25  |
Nicola Farina
Messages: 63 Registered: October 2001
|
Member |
|
|
Hi all,
I am doing a little "reverse-engineering" of a Oracle table.
I know that in a field of this table it is stored a date-time pair, but the field is a number type. The values are of this kind:
36664,4276851852
36669,6295717604 and so on..
Is there any chance, in your opinion, that this format would be the same used internally by Oracle for DATE columns?
Which is the best/quick way to convert this value in a date via SQL?
I tried
select ...TO_DATE(FieldNumber) but obviously this doesn't work..
Thanks in advance for any help!
Nicola
----------------------------------------------------------------------
|
|
|
|