OrientDB Drop Database - OrientDB

What is OrientDB Drop Database?

Similar to RDBMS, OrientDB provides the feature to drop a database. Drop database refers to removing a database completely.
The following statement is the basic syntax of the Drop database command.
Subsequent are the information about the options in the above syntax.
<database-name> − Database name you want to drop.
<server-username> − Username of the database who has the privilege to drop a database.
<server-user-password> − Password of the particular user.

Example

There are two ways to drop a database, one is drop a currently open database and second is drop a particular database by providing the particular name.
In this example, we will use the same database named ‘demo’ that we created in an earlier chapter. You can use the subsequent command to drop a database demo.
If this command is productively executed, you will get the following output.
OR
You can use another command to drop a database as follows.
If this command is productively executed, you will get the following output.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

OrientDB Topics