17,377
社区成员
发帖
与我相关
我的任务
分享
select (to_timestamp('2011-12-09 12:12:13.400','yyyy-mm-dd hh24:mi:ss.ff3') -
to_timestamp('2011-12-09 12:12:12.300','yyyy-mm-dd hh24:mi:ss.ff3'))
from dual;
-- 上面得到的结果是timestamp类型,如果需要可以使用to_char与to_number将它转换成毫秒。