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, 2600🔥, 0💬
Popular Posts:
What Are the Differences between BINARY and VARBINARY in MySQL? Both BINARY and VARBINARY are both b...
What is dba.FYIcenter.com Website about? dba.FYIcenter.com is a Website for DBAs (database administr...
How To Use GO Command in "sqlcmd" in SQL Server? "sqlcmd" is a command line client application to ru...
How Run SQL*Plus Commands That Are Stored in a Local File in Oracle? If you have a group of commands...
How to download and install Microsoft .NET Framework Version 2.0 in SQL Server? .NET Framework Versi...