AT TIME ZONE - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

The specification that follows sets the time zone for the procedure. You can only specify AT TIME ZONE if you precede it with either the COMPILE option or the COMPILE ONLY option.
You cannot specify AT TIME ZONE by itself or following the EXECUTE PROTECTED or EXECUTE NOT PROTECTED options.


LOCAL

Set the time zone for the procedure to the system default.

signquotestring
Set the procedure time zone offset to ± ‘quotestring’.
The specification of a sign is optional. The default is +.
Vantage implicitly converts the specified expression, as needed and if allowed, to a time zone displacement or time zone string.
See “SET TIME ZONE” in Teradata Vantage™ - SQL Data Definition Language Detailed Topics , B035-1184 for a complete list of the implicit data type conversions Vantage performs on ± ‘quotestring’ data types.