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

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
spp1591731285373.ditamap
dita:ditavalPath
spp1591731285373.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

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.