numtoyminterval « Date Timezone « Oracle PL / SQL






1.NUMTOYMINTERVAL(x, interval_unit): convert the number x to an INTERVAL YEAR TO MONTH with the interval for x supplied in interval_unit
2.NUMTOYMINTERVAL(x): Convert the number x to an INTERVAL YEAR TO MONTH
3.numtoyminterval(100000, 'YEAR')
4.NUMTOYMINTERVAL(3.25, 'MONTH')
5.Add any number of months to hired date