forked from orientechnologies/orientdb
-
Notifications
You must be signed in to change notification settings - Fork 0
SQL Drop Class
lvca edited this page Dec 22, 2012
·
2 revisions
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 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.