Taken from my post here ( ) I think this would make the syntax a lot clearer.
- select extract (hour from numtodsinterval (8.333, 'HOUR')) hours,
- extract (minute from numtodsinterval (8.333, 'HOUR')) mins,
- numtodsinterval (8.333, 'HOUR') intv
- from dual;
Allow something like:
round(myinterval,'Minute')
so we can round (or ceil/floor) intervals the specified level.