DELETE DATABASE SQL Statement | Teradata Vantage - 17.10 - DELETE DATABASE - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

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

Deletes all data tables, views, triggers, SQL procedures, macros, and user-installed files (UIFs) from a database.

To delete the definition for the database from the data dictionary, you must use DROP DATABASE. See DROP DATABASE.

ANSI Compliance

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

Required Privileges

You must have the DROP privilege on the specified database.