AT TIME ZONE - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

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.
 For more information, see SET TIME ZONE Usage Notes.