A Teradata/ANSI timestamp literal is preceded by keyword TIMESTAMP and enclosed in apostrophes / single quotes:
TIMESTAMP '2012-11-30 12:34:56'Or you can cast a character literal to TIMESTAMP(0), in either TD or TD format:
'2012-11-30 12:34:56' (TIMESTAMP(0))
CAST('2012-11-30 12:34:56' AS TIMESTAMP(0))But your example generates invalid syntax like
(2012-11-30 12:34:56) TIMESTAMP(0)
↧