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

SQL Anywhere 11.0.1 (中文) » UltraLite - 数据库管理和参考 » UltraLite SQL 参考 » UltraLite SQL 函数 » SQL 函数 (E-O)

 

MINUTE 函数 [Date and time]

返回日期时间值的分钟部分。

语法
MINUTE( datetime-expression )
参数
  • datetime-expression   日期时间值。

返回值

SMALLINT

注释

返回的值是 0 到 59 之间的某个数字,对应于日期时间的分钟。

标准和兼容性
  • SQL/2003   服务商扩充。

示例

以下语句返回值 22。

SELECT MINUTE( '1998-07-13 12:22:34' );