Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting a database??????

Status
Not open for further replies.

SQLePO

Technical User
Aug 14, 2002
29
GB
How do I delete a database?!? Can anyone help, this is pretty desperate!!!!!
 
Hi

Firstly click on Management in Enterprise Manager, then Current Activity, Process Info....

Then right click on all connections to the database and kill the processes, make sure all the processes are killed otherwise you won't be able delete the database.

Then right click on the database in EM and say delete or execute the following statment in query analyser:

DROP DATABASE database1

If you get an error about users then just kill the processes again and rather execute it through the analyser.

That will do it for you

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top