登 录
如果是Date型,直接t2-t1,就可以了。
如果是timestamp,如果取间隔的秒数to_number(substr( (endtime-starttime) * 24 * 60 * 60,0,instr((endtime-starttime),' ')))
抱歉!评论已关闭.