YMatrix
Quick Start
Cluster Deployment
Data Model
Data Writing
Data Query
SQL Reference
Maintenance and Monitoring
Tool Guide
Troubleshooting
FAQ
Delete the data type.
DROP TYPE [IF EXISTS] name [, ...] [CASCADE | RESTRICT]
DROP TYPE will delete the user-defined data type. Only the owner of the type can delete it.
IF EXISTS
name
CASCADE
RESTRICT
Delete data type box:
DROP TYPE box;
This command is similar to the corresponding commands in the SQL standard, except for the IF EXISTS option (which is the YMatrix database extension). But please note that many of the CREATE TYPE commands and data type extension mechanisms in the YMatrix database are different from those of the SQL standard.