Skip to main content
Returns the year part in a date and returns a value that ranges from 1000 to 9999. The date parameter must be of the DATE or DATETIME type.

Syntax

Examples

Text

keyword

YEAR