sp_droptype

Description

Drops a user-defined datatype.

Syntax

sp_droptype typename

Parameters

typename

is the name of a user-defined datatype that you own.

Examples

Example 1

Drops the user-defined datatype named birthday:

sp_droptype birthday

Usage

Permissions

Only the Database Owner or datatype owner can execute sp_droptype.

See also

Datatypes User-defined datatypes

System procedures sp_addtype, sp_rename