两日期相减得到天数

select to_date(trunc(sysdate)) - to_date(trunc(create_time))   from table_201410;
posted @ 2017-05-04 11:46  Debugs  阅读(457)  评论(0编辑  收藏  举报