16.20 - CREATE ZONE - 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

Purpose

Defines a Teradata Secure Zone. You can also specify an existing database or user as the zone root.

A secure zone is an area which restricts unauthorized outside users from accessing data and objects within the zone.

The zone root is a database or a user on which a zone is created. You create a secure zone and associate a database or a user as the root. Before assigning the database or user as the root of a zone, the database or user should not contain any objects, users, databases, roles, or profiles.

For information on adding guests to a zone, see GRANT ZONE in Teradata Vantage™ SQL Data Control Language, B035-1149

For information on assigning a primary Database Administrator to a zone, see “Implementing Teradata Secure Zones” in Teradata Vantage™ NewSQL Engine Security Administration, B035-1100

Required Privileges

To create a secure zone, you must have the CREATE ZONE privilege.

To define a user as a root, the zone creator must have DROP USER privilege on the user that becomes a root.

To define a database as root, the zone creator must have CREATE USER privilege on the database that becomes a root.

Syntax