Oracle® OLAP Expression Syntax Reference Release 11.2 E23381-01 |
|
|
PDF · Mobi · ePub |
NUMTODSINTERVAL
converts a number to an INTERVAL DAY TO SECOND
data type.
INTERVAL DAY TO SECOND
NUMTODSINTERVAL(n, 'interval_unit')
n
can be any numeric expression.
interval_unit
is a text expression that specifies the units. It must resolve to one of the following values:
DAY
HOUR
MINUTE
SECOND
These values are case insensitive.
NUMTODSINTERVAL(100, 'MINUTE')
returns the value +00 01:40:00.000000.