How to get millis of timestamp since 1970 UTC in Oracle SQL? -


i have table 1 of columns of type timestamp(6).

how milliseconds of column's data since 1970 utc?

try this

select (cast(your_column date) - date '1970-01-01')*24*60*60 your_table; 

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -