15.10 - CREATE ZONE - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Release Date
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)

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 SQL Data Control Language, B035-1149

For information on assigning a primary Database Administrator to a zone, see the chapter on secure zones in 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