SQL Drop Database - Drop Database SQL Server



Drop a Database in SQL

  • The DROP DATABASE statement is used to drop an existing SQL database.

Syntax

  DROP DATABASE databasename;
  • Note: Be careful before dropping a database. Deleting a database will result in loss of complete information stored in the database!

DROP DATABASE Example

  • The following SQL statement drops the existing database "wikitechydatabase":
 DROP DATABASE wikitechydatabase;

Output

drop-database-1

Related Searches to SQL Drop Database - Drop Database SQL Server