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, 2734🔥, 0💬
Popular Posts:
How to run Queries with SQL Server Management Studio Express in SQL Server? 1. Launch and connect SQ...
How To Create a Dynamic Cursor with the DYNAMIC Option in SQL Server Transact-SQL? If the underlying...
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...
Where to find answers to frequently asked questions I am new to Oracle database. Here is a list of f...
How To Format DATETIME Values to Strings with the CONVERT() Function in SQL Server Transact-SQL? SQL...