MSSQL%20Interview%20Questions%20and%20Answers
Question: How to delete a database in MS SQL Server?Answer: 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 YourDataBaseName GO The database "YourDataBaseName" 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. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Microsoft SQL Server?
- What is the simplest way to create a new database in MS SQL Server?
- How to delete a database in MS SQL Server?
- How to download and install Microsoft .NET Framework Version 2.0?
- How To Get a List of Columns using the "sp_help" Stored Procedure in MS SQL Server?