Using Options with MODIFY USER - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Option Checking

You can specify multiple options within a single MODIFY USER request; however, the database aborts the request and returns an error if you specify duplicate or conflicting options.

STARTUP Options

You can specify either of the following options for STARTUP.

Option Description
NULL The existing startup string for the user, if any, is to be deleted.
quotestring A replacement for the user startup string, which consists of one or more SQL statements that are performed when the user logs onto Vantage.

A startup quotestring can be up to 255 characters, must be terminated by a SEMICOLON character, and enclosed by APOSTROPHE characters.

A startup Kanji quotestring can be up to 255 bytes, must be terminated by a SEMICOLON character, and enclosed by APOSTROPHE characters.

The USING request modifier is not supported, and if a DDL request is specified, no other request is allowed in the string.

See STARTUP String for more information about startup strings.

TIME ZONE Option

The following table describes the TIME ZONE options in detail.

Option Description
LOCAL Changes local time zone displacement to that defined for system default.

Persistent setting. Does not change if system-defined default time zone changes. Change value with MODIFY USER statement.

NULL No default TIME ZONE displacement is defined for the user.
± 'quotestring' An optionally signed value that sets a non-system-default interval offset for converting the user TIME ZONE displacement.

The format is hh:mm.

'time_zone_string' Changes value of default time zone for user to displacement specified by time_zone_string.

If time_zone_string specifies non-GMT time zone, system-defined UDF GetTimeZoneDisplacement interprets it and determines appropriate time zone displacement for session.

Time zone strings that are expressed in terms of GMT do not enable automatic adjustments for Daylight Saving Time. Regions that do not follow Daylight Saving Time are only represented by GMT values.

The valid time zone strings are listed in the following table.

The following table lists the valid time zone strings for the 'time_zone_string' option.

Valid Time Zone Strings
  • Africa Egypt
  • Africa Morocco
  • Africa Namibia
  • America Alaska
  • America Aleutian
  • America Argentina
  • America Atlantic
  • America Brazil
  • America Central
  • America Chile
  • America Cuba
  • America Eastern
  • America Mountain
  • America Newfoundland
  • America Pacific
  • America Paraguay
  • America Uruguay
  • Argentina
  • Asia Gaza
  • Asia Iran
  • Asia Iraq
  • Asia Irkutsk
  • Asia Israel
  • Asia Jordan
  • Asia Kamchatka
  • Asia Krasnoyarsk
  • Asia Lebanon
  • Asia Magadan
  • Asia Omsk
  • Asia Syria
  • Asia Vladivostok
  • Asia West Bank
  • Asia Yakutsk
  • Asia Yekaterinburg
  • Australia Central
  • Australia Eastern
  • Australia Western
  • Europe Central
  • Europe Eastern
  • Europe Kaliningrad
  • Europe Moscow
  • Europe Samara
  • Europe Western
  • Indian Mauritius
  • Mexico Central
  • Mexico Northwest
  • Mexico Pacific
  • Pacific New Zealand
  • Pacific Samoa
  • GMT-11
  • GMT-10
  • GMT-9
  • GMT-8
  • GMT-7
  • GMT-6:30
  • GMT-6
  • GMT-5
  • GMT-4
  • GMT-3
  • GMT-2
  • GMT-1
  • GMT
  • GMT+1
  • GMT+2
  • GMT+3
  • GMT+3:30
  • GMT+4
  • GMT+4:30
  • GMT+5
  • GMT+5:30
  • GMT+5:45
  • GMT+6
  • GMT+6:30
  • GMT+7
  • GMT+8
  • GMT+8:45
  • GMT+9
  • GMT+9:30
  • GMT+10
  • GMT+11
  • GMT+11:30
  • GMT+12
  • GMT+13
  • GMT+14