15.10 - user_defined_type_name - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)

Name of the user-defined type, whether ARRAY/VARRAY, distinct, or structured, whose definition is to be dropped from the dictionary.

Before you drop a UDT, you must ensure that you resolve any dependencies that exist on it. You can execute the system macro SYSUDTLIB.HelpDependencies to find any existing dependencies for a type you intend to drop.

database_name
Name of the containing database for user_defined_type_name.
This is always SYSUDTLIB.

Example: Dropping the Definition of a UDT 1

This example drops the definition of the UDT named employee.

     DROP TYPE SYSUDTLIB.employee;

Example: Dropping the Definition of a UDT 2

This example drops the definition of the UDT named circle.

     DROP TYPE SYSUDTLIB.circle;