numtodsinterval « Date Timezone « Oracle PL / SQL






1.NUMTODSINTERVAL(x, interval_unit): convert the number x to an INTERVAL DAY TO SECOND with the interval for x supplied in interval_unit
2.numtodsinterval(150, 'DAY')
3.numtodsinterval(1500, 'HOUR')
4.NUMTODSINTERVAL(3.25, 'HOUR')
5.numtodsinterval(15000, 'MINUTE')
6.numtodsinterval(150000, 'SECOND')
7.current_timestamp + numtodsinterval( 2, 'hour' )
8.current_timestamp + numtoyminterval( 3, 'month' ) current_timestamp