Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns a number indicating the quarter of the year from the supplied TIMESTAMP expression.
QUARTER( timestamp-expression )
The date you want the quarter for.
The quarters are as follows:
The following statement returns the value 2.
SELECT QUARTER( '1987/05/02' );