Progress
SQL-92
Guide and Reference


QUARTER Function

Returns the quarter in the year specified by the argument as a short integer value in the range of 1-4.

SYNTAX

QUARTER ( date_expression ) 

EXAMPLE

This example illustrates the QUARTER function. The query requests all rows in the orders table where the order_date is in the third quarter of the year:

SELECT *
    FROM orders
    WHERE QUARTER (order_date) = 3 ; 

NOTES

COMPATIBILITY

ODBC Compatible


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095