oracle 根据时间戳查询date类型sql
程序员文章站
2022-05-18 21:00:22
话不多说上sql: select to_char(1574837126879/(1000*60*60*24)+to_date('1970-01-01 08:00:00','YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD HH24:MI:SS') from dual; ......
话不多说上sql:
select to_char(1574837126879/(1000*60*60*24)+to_date('1970-01-01 08:00:00','yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss') from dual;