Skip to content
lvca edited this page Dec 22, 2012 · 2 revisions

SQL command: DROP CLASS

Drop Class

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.

Syntax

    DROP CLASS <class>

Where:

  • class is the class of the schema

Examples

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.

Clone this wiki locally