TO_YMINTERVAL

Purpose

This function converts a string value into an interval (INTERVAL YEAR TO MONTH).

Syntax

to_yminterval::=

Usage Notes

Example

SELECT TO_YMINTERVAL('3-11') TO_YMINTERVAL;