Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
TIMESTAMP 値の時間部分を返します。
HOUR( timestamp-expression )
timestamp-expression TIMESTAMP 値。
SMALLINT
TIMESTAMP 式の時間部分である、0 ~ 23 の間の SMALLINT 値が返されます。
SQL/2008 ベンダー拡張。
次の文は、値 21 を返します。
SELECT HOUR( '1998-07-09 21:12:13' );