HOW TO DELETE A DATABASE IN SQL?

413 viewsSQLSQL
0

HOW TO DELETE A DATABASE IN SQL?

Saraswat World Changed status to publish June 14, 2023
0
DELETE DATABASE in SQL
DELETE DATABASE in SQL
DROP DATABASE

To drop an existing SQL database use command-

DROP DATABASE database_name;

HOW TO DROP DATABASE IN T-SQL

DROP DATABASE [IF EXISTS] database_name(s);

Example-

DROP DATABASE [ IF EXISTS] database_name1 , database_name2, database_nameN;

Note-

We are required to keep a database backup if we need to recover it in the future.

We are unable to delete the currently active database.

Saraswat World Changed status to publish June 14, 2023
Write your answer.

Posted

in

Tags:

Comments

Leave a Reply

Ganesh Ji Arti A Tribute to Dilip Kumar