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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete MSDE/SQL Server Databases??

Status
Not open for further replies.

jgoodman00

Programmer
Jan 23, 2001
1,510
0
0
How do you delete existing SQL server databases, because I am experimenting with the access upsizing wizard & upsizing different objects. Obviously each upsize is creating a new database & project file. How do I delete the databases I have created which I no longer want???

James Goodman
j.goodman00@btinternet.com
 

you can use DROP DATABASE database_name [ ,...n ]
if u r using visual basic on the ado connection
the connection must be to the master database
cn.execute "use master"
cn.execute "DROP DATABASE database_name "



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top