16.20 - Modifying the Default Time Zone for a User - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

When you assign a default time zone to a user, each time that user logs onto Teradata Database, their session uses the assigned time zone offset.

The valid range for a time zone offset specified as ± ‘quotestring’ is from -12:59 to +14.00.

If you set the default time zone offset for a user by specifying a non-GMT time zone string, Teradata Database can change the time zone automatically whenever there is a change in Daylight Saving Time. Only those time zone strings that are not defined in terms of GMT enable automatic adjustments for Daylight Saving Time. The GMT time zone strings are designed to be used for regions and time zones that do not follow Daylight Saving Time.

See “SET TIME ZONE” in Teradata Vantage™ SQL Data Definition Language Syntax and Examples, B035-1144 for a comprehensive list of the valid time zone strings that you can use to set the time zone offset for a user and Teradata Vantage™ SQL Date and Time Functions and Expressions, B035-1211 for the definition of the GetTimeZoneDisplacement UDF that converts time zone values when Daylight Saving Time changes.

See Teradata Vantage™ - Database Utilities , B035-1102 for information about the DBS Control flags SystemTimeZoneHour, SystemTimeZoneMinute, and TimeDateWZControl and their control of the automatic conversion of Daylight Saving Time to standard time and back.

See Teradata Vantage™ - Database Utilities , B035-1102 for information about the tdlocaledef utility and how it is used to specify rules for time zone strings.