Example - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantage™ Data Types and Literals

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

The following SELECT statements return an error because the source expression does not have a time zone displacement.

SELECT CAST(TIMESTAMP '2008-06-01 08:30:00'
   AS TIMESTAMP(0) WITH TIME ZONE AT SOURCE TIME ZONE);
SELECT CAST(TIMESTAMP '2008-06-01 08:30:00'
   AS TIMESTAMP(0) WITH TIME ZONE AT SOURCE);