Return the year
Syntax
year(dt_expr)
Arguments
Description
This function returns the year component of the specified date expression.
Example
select year(curdate()) as Year; Year 2013
Copyright © 2023, Raima Inc. All rights reserved. [4/12/2023 3:25:40 PM]