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 date expression.
QUARTER( date-expression )
date-expression The date.
The quarters are as follows:
|1||January 1 to March 31|
|2||April 1 to June 30|
|3||July 1 to September 30|
|4||October 1 to December 31|
SQL/2003 Vendor extension.
The following statement returns the value 2.
SELECT QUARTER( '1987/05/02' );
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|