Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Converts an expression into a TIMESTAMP value.
DATETIME( expression )
expression The expression to be converted. It is generally a string.
TIMESTAMP
Attempts to convert numerical values return an error.
The following statement returns a timestamp with value 1998-09-09 12:12:12.000:
SELECT DATETIME( '1998-09-09 12:12:12.000' );