15.00 - REVOKE (Temporal Form) - Teradata Database

Teradata Database Temporal Table Support

prodname
Teradata Database
vrm_release
15.00
category
Programming Reference
featnum
B035-1182-015K

REVOKE (Temporal Form)

Purpose  

Revokes the NONTEMPORAL and other explicit privileges on a database, user, table, or view.

Syntax  

Note: Temporal Table Support describes syntax that is especially relevant to temporal tables. Syntax that is not required, or that is not otherwise specific to temporal tables is generally not shown in this manual. For additional syntax, see SQL Data Definition Language, SQL Data Manipulation Language, and SQL Data Control Language.

 

Syntax Element …

Specifies …

GRANT OPTION FOR

that only the GRANT authority is removed from the specified privileges for the specified grantees for the corresponding explicit privileges they have.

ALL [PRIVILEGES]

to revoke from the specified user all explicitly granted privileges that can be granted on the specified object, and that are held, either implicitly or explicitly, WITH GRANT OPTION by the user executing the REVOKE.

REVOKE ALL includes the NONTEMPORAL privilege if the InclNTforGrntOrRevokAll field of the DBS Control utility is set to TRUE. Otherwise, REVOKE ALL excludes the NONTEMPORAL privilege.

ALL BUT

to revoke all explicit database privileges from the specified user, except those listed, that can be granted on the specified object and that are held, either implicitly or explicitly, WITH GRANT OPTION by the user performing the REVOKE statement.

NONTEMPORAL

that the user cannot use the NONTEMPORAL prefix to perform nontemporal operations on table_name or view_name or on any transaction-time tables, bitemporal tables, or updatable views contained in database_name or user_name.

For details on the NONTEMPORAL privilege, see “NONTEMPORAL Privilege” on page 181.

privilege

a privilege other than NONTEMPORAL.

For details, see REVOKE in SQL Data Control Language.

ON database_name

the name of a database that contains or may contain transaction-time tables, bitemporal tables, or both.

ON user_name

the name of a user that contains or may contain transaction-time tables, bitemporal tables, or both.

ON table_name

the name of a bitemporal or transaction-time table.

ON view_name

the name of an updatable view created on a bitemporal table or transaction-time table.

TO [ALL] username

the name of an existing database or user that identifies the recipient.

If you specify ALL, then the object privileges are revoked from the named database or user and from every database or user owned by that database or user.

FROM [ALL] username

Related Information

 

For more information on...

See...

REVOKE (regular form)

SQL Data Control Language

GRANT (temporal form)

“GRANT (Temporal Form)” on page 180

DBS Control utility

Utilities

DELETE (temporal form)

“DELETE (Temporal Form)” on page 113

INSERT (temporal form)

“INSERT/INSERT … SELECT (Temporal Forms)” on page 119

Nontemporal operations

“Nontemporal Operations” on page 25

UPDATE (temporal form)

“UPDATE (Temporal Form)” on page 164