NUMTOYMINTERVAL
Purpose
This function converts a numerical value n into an interval of type INTERVAL YEAR TO MONTH
.
Syntax
numtoyminterval::=
Usage Notes
- The parameter
interval_unit
is eitherYEAR
orMONTH
. - For additional information, see NUMTODSINTERVAL, TO_DSINTERVAL, and TO_YMINTERVAL.