Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将表达式转换成 TIMESTAMP 值。
DATETIME( expression )
expression 要转换的表达式。通常是字符串。
TIMESTAMP
试图转换数字值时会返回错误。
SQL/2008 服务商扩充。
以下语句返回值为 1998-09-09 12:12:12.000 的时间戳。
SELECT DATETIME( '1998-09-09 12:12:12.000' );