Search
 
SCRIPT & CODE EXAMPLE
 

SQL

SQL DROP DATABASE Statement

DROP DATABASE my_db;
Comment

how to drop a database in sql server when it is in use

BY LOVE SINGH

USE master;
GO
ALTER DATABASE OnlineRestaurant2 
SET SINGLE_USER 
WITH ROLLBACK IMMEDIATE;
GO
DROP DATABASE OnlineRestaurant2;
Comment

SQL Server DROP DATABASE

DROP DATABASE DB_NAME
Comment

PREVIOUS NEXT
Code Example
Sql :: start postgres server 
Sql :: python sqlite3 prepared statement 
Sql :: delete a record from a table sqlite3 
Sql :: sqlserver docker 
Sql :: postgresql list users 
Sql :: sql decimal to 2 places 
Sql :: grant all privileges mysql 
Sql :: blob datatype in mysql 
Sql :: how to know the username of postgresql 
Sql :: sql where contains 
Sql :: sql values not in another table 
Sql :: sql order by ascending 
Sql :: postgres change column type to uuid 
Sql :: sql server set variable if exists 
Sql :: mysql change collation one column 
Sql :: get count of duplicate records 
Sql :: update field sql 
Sql :: sql not equal multiple columns 
Sql :: mysql trim 
Sql :: laravel get sql query eloquent with parameters 
Sql :: SHOW COLUMNS Statement 
Sql :: oracle insert or update 
Sql :: how to find sql server agent jobs related to a database 
Sql :: mariadb add foreign key 
Sql :: How do I modify a MySQL column to allow NULL? 
Sql :: mysql cdn link 
Sql :: how to export only procedures mysql 
Sql :: show the colums of table sql 
Sql :: mysql update join 
Sql :: call function sql oracle 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =