Collections:
"DROP DATABASE" - Deleting Databases in SQL Server
How to delete a database in SQL Server?
✍: FYIcenter.com
If you created a database incorrectly, or you have a database that is not needed any more, you can delete it with the "DROP DATABASE" statement with this syntax:
DROP DATABASE database_name
For example, execute this statement:
DROP DATABASE FyiCenterData GO
The database "FyiCenterData" created in the previous tutorial should be deleted from the SQL server.
Warning, if you delete a database, all tables and their data in that database will be deleted.
⇒ Database in Use When Dropping a Database in SQL Server
⇐ "USE" - Setting the Current Database in SQL Server
2016-11-24, 2618🔥, 0💬
Popular Posts:
How To Get Help Information from the Server in MySQL? While you are at the "mysql>" prompt, y...
How To Get the Definition of a View Out of the SQL Server in SQL Server? If you want get the definit...
How To Escape Special Characters in SQL statements in MySQL? There are a number of special character...
How to obtain the version number of the ICU (International Components for Unicode) library using the...
How Many Groups of Data Types in MySQL? MySQL support 3 groups of data types as listed below: String...