Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an integer that represents the year of the specified date
Syntax
YEAR ( date )
Arguments
date
Is an expression that can be resolved to a datetime. date can be an expression, column expression, or string literal.
Return Types
bigint
Examples
SELECT YEAR (EntryTime)
FROM Input TIMESTAMP BY EntryTime
WHERE Toll > 5