17.10 - Locks for DROP TABLE - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1184-171K
Language
English (United States)

The following locks are placed by DROP TABLE:

  • The DROP places an all-AMP EXCLUSIVE lock on the object itself as identified by its TVMId value, for example, TableId.
  • Among other dictionary locks, the DROP places an all-AMP WRITE lock on the partitioned DBC.AccessRights table on the single partition corresponding to the table unique DatabaseId and TVMId. This partition contains the complete list of privileges on the object to be deleted by the DROP operation.