16.20 - ADD ROOT - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

Add a root database or user to a secure zone.

Only the secure zone creator can ADD a root.

The root cannot be a part of another zone.

Root should be an existing user or database. You should create the user or database before you specify the user or database as root.

The user or database that you specify cannot be a guest, creator, or member of another zone and cannot contain objects, descendants, roles, profiles, or constraints.

Only the zone creator, owner and creator of root can have privileges on the root. Other users cannot have privileges on the root. Root cannot have any privileges on other users.

Root cannot be a proxy user.

Root should not be granted with any roles or constraints.

The user should not be logged in while adding him as a zone root.

Root cannot have a database as default database.

The user or database that you specify cannot have any Access logging or Query logging rules enabled on them or created by them.

root_name
Name of an existing user or database.
The user or database that you specify cannot be a guest of another zone and cannot contain objects, descendants, roles, or profiles.
Only the zone creator, owner, and creator of the root can have privileges on the root. Other users cannot have privileges on the root.

Example: Add a Root

ALTER ZONE zn_01 ADD ROOT zn_rt01;