MySQL DROP Database

MySQL DROP Database query is used to delete database from mysql. It removes database with all the tables, indexes and constraints permanently.

MYSQL Syntax:
DROP DATABASE name_of_database;

MYSQL Example :
DROP DATABASE schoolerp;

As per as above example, DROP DATABASE clause will delete all  all the tables, indexes and constraints of schoolerp database.

 

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

46480