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 函数 (A-D)

 

DAYNAME 函数 [Date and time]

返回日期中的星期几的名称。

语法
DAYNAME( date-expression )
参数
  • date-expression   日期。

返回值

VARCHAR

注释

返回的英语名如下:Sunday、Monday、Tuesday、Wednesday、Thursday、Friday、Saturday。

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

示例

以下语句返回值 Saturday。

SELECT DAYNAME ( '1987/05/02' );