16.20 - DROP storage_format SCHEMA - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

Purpose

Drops a schema.

Required Privileges

You must have the DROP DATASET SCHEMA privilege on the schema or database containing the schema.

Syntax



Syntax Elements

storage_format
Storage format of the DATASET type for the schema being dropped.
SYSUDTLIB
Name of the database containing the schema. Schemas that you create are registered in the SYSUDTLIB database.
schema_name
Name of the schema.

Examples

This example drops a schema in the Avro storage format of the DATASET type:
DROP Avro SCHEMA chemDatasetSchema;

Usage Notes

You can only drop a schema that is not in use.