Returns an integer from 1 to 31 corresponding to the day of
the month of the date specified.
Parameters
Parameters| Parameter | Description | 
|---|
| date-expression | The date. | 
Example
The following statement returns the value 12:
SELECT DAY( '2001-09-12' ) FROM iq_dummy
Standards and Compatibility