DROP TYPESection: SQL Commands (7)Updated: 2003-11-02 |
DROP TYPESection: SQL Commands (7)Updated: 2003-11-02 |
DROP TYPE name [, ...] [ CASCADE | RESTRICT ]
DROP TYPE will remove a user-defined data type. Only the owner of a type can remove it.
To remove the data type box:
DROP TYPE box;
This command is similar to the corresponding command in the SQL standard, but note that the CREATE TYPE command and the data type extension mechanisms in PostgreSQL differ from the SQL standard.