15.10 - user_defined_type_name - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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;