Skip to main content
The SHOW TYPES statement lists the user-defined data types in the current database.
SHOW TYPES does not list domain data types. To view domains, use SHOW CREATE ALL TYPES.

Syntax

Required privileges

The CONNECT privilege on the database is required to list any user-defined types in the database.

Examples

The following example creates a user-defined type.

See also