16.20 - DELETE USER and Global Temporary or Volatile Tables - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

Rules for temporary and volatile tables are as follows:

IF a table is this type … THEN the following things occur when you delete a user …
global temporary
  • If you specify ALL, then all objects, including the materialized global temporary tables within the target user, are dropped.
  • If you do not specify ALL, the request aborts if there are any materialized global temporary tables; else all objects in the target user are dropped.
volatile All objects in the target user are dropped except volatile tables.