Returns a month of the given date.
MONTH( date-expression )
date-expression A datetime value.
SMALLINT
The value returned is a number from number from 1 to 12 corresponding to the datetime month.
SQL/2003 Vendor extension.
The following statement returns the value 7.
SELECT MONTH( '1998-07-13' ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |