DROP USER SQL Statement | Teradata Vantage - DROP USER - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

Drops the definition for an empty user from the Data Dictionary.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

DROP USER is functionally similar to the ANSI SQL:2011 statement DROP SCHEMA.

Required Privileges

You must have the DROP USER privilege on the user. The user that is being dropped cannot own other databases or users, and must be at the bottom of the database hierarchy.