forked from orientechnologies/orientdb
-
Notifications
You must be signed in to change notification settings - Fork 0
SQLDropClass
jazzzz edited this page Dec 13, 2012
·
1 revision
The SQL Drop Class command removes a class from the schema. NOTE: Pay attention to maintain the schema coherent. For example avoid to remove classes that are super classes of others. The associated cluster won't be deleted.
DROP CLASS <class>
Where:
- class is the class of the schema
Remove the class 'Account': DROP CLASS Account
To create a new class use the Create Class command.
To drop the associated cluster use the Console Command Drop Cluster command.
To know more about other SQL commands look at SQL commands.
This is a command of the Orient console. To know all the commands go to Console Commands.