日期:2014-05-17  浏览次数:20837 次

跪求:SQL number转为Date 或者是相反
有没有一种方法像to_date(),to_Sting一样的 把number也能转为date类型啊?
------解决方案--------------------
明白你的意思了,数字转日期用如下方法:

select to_date('1970-01-01','yyyy-mm-dd')+1383893085000/(3600*24*1000) from dual