Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » SQL Anywhere サーバ - SQL リファレンス » SQL の使用 » SQL 関数 » SQL 関数 (A ~ D)

 

DAY 関数 [日付と時刻]

1 ~ 31 の整数を返します。

構文
DAY( date-expression )
パラメータ
  • date-expression   日付。

戻り値

SMALLINT

備考

日付の月日に対応する整数 1 ~ 31。

標準と互換性
  • SQL/2003   ベンダ拡張。

次の文は、値 12 を返します。

SELECT DAY( '2001-09-12' );