QUARTER function (ODBC compatible)
Syntax
QUARTER ( time_expression )
Description
The scalar function QUARTER returns the quarter in the year specified by the argument as a short integer value in the range of 1 - 4.
Example
SELECT *
FROM orders
WHERE QUARTER (order_date) = 3 ;
Notes