TO_YMINTERVAL(x): Converts the string x to an INTERVAL YEAR TO MONTH
SQL>
SQL> --TO_YMINTERVAL(x): Converts the string x to an INTERVAL YEAR TO MONTH.
SQL>
SQL> select to_yminterval('03-11')from dual;
TO_YMINTERVAL('03-11')
---------------------------------------------------------------------------
+000000003-11
SQL>
Related examples in the same category