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_unitis eitherYEARorMONTH. - For additional information, see NUMTODSINTERVAL, TO_DSINTERVAL, and TO_YMINTERVAL.
 
Example
SELECT NUMTOYMINTERVAL(3.5,'YEAR') NUMTOYMINTERVAL;