DROP TYPE
removes a user-defined type
What changes
- Input
- catalog
- Output or change
- alias type, table type (for TVPs / table variables), or CLR type
Syntax at a glance
DROP TYPE [ IF EXISTS ] [ schema_name. ] type_name [ ; ]
Work example
A user-defined type is retired after procedures and columns migrate.
Find table columns, parameters, functions, and procedures that reference the type.
Check your work No schema-bound object or caller still uses the type.
Open Microsoft Learn for full syntax, permissions, and details for your version.