sql - Oracle system time as float -
i writing query database part of enterprise database application. there datetime column called datetime stored float, e.g. "41869.6514596064". want restrict results rows datetime greater or equal current time.
how can current system time formatted float?
assuming care date second (rather introducing milliseconds) can number of days since 1/1/1900 subtracting constant date sysdate
select sysdate - date '1900-01-01' days_since_jan_1_1900 dual;
Comments
Post a Comment