I have a Field in ORACLE as CREATED (NUMBER). It stores the time in MILLISECONDS or you can say long format. Now the requirement is to find the data between two dates using the Field CREATED.
I have the following below query which is working for where condition, but not for between condition:
SELECT date'1970-01-01' + TIMECREATED / 1000 / 60 / 60 / 24 as timet
FROM XXX_TABLE WHERE ITBD='829993';
Can someone provide me the SQL to get the data between two dates?