YEARS_BETWEEN
Description
YEARS_BETWEEN computes the difference between two dates in years.
Supported input column types: DATE
Output column type: FLOAT
Syntax
YEARS_BETWEEN ( table.column1, table.column2 )
NULL handling
If any parameter is NULL, the result is NULL as well.
Example
[1] Simple YEARS_BETWEEN example. | ||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
|