oracle long转化date ,增加天数 然后转化long

update event20150117_0  set lrecepttime=(to_date('1970-01-01 00:00:00','yyyy-mm-dd hh24:mi:ss')+   lrecepttime/1000/24/60/60 + interval '1' day- to_date('1970-01-01','yyyy-mm-dd'))* 24*60*60*1000

猜你喜欢

转载自jayyunfei.iteye.com/blog/2224890