Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

SSRS - querying TD using a VB expression via ODBC - response (1) by Fred

$
0
0
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)

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>