15.10 - AT TIME ZONE - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Teradata Database
Release Number
December 2015
Content Type
Programming Reference
Publication ID
English (United States)
Last Update

Specifies that the specification that follows sets the time zone for the SQL 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.

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

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