Syntax
INTERVAL YEAR [ ( precision ) ] TO MONTH [ attributes [...] ]
Syntax Elements
- precision
- The permitted range of digits for YEAR, ranging from one to four.
- attributes
- Appropriate data type, column storage, or column constraint attributes.
INTERVAL YEAR [ ( precision ) ] TO MONTH [ attributes [...] ]