Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove a list of accidently deleted databases from Sql Server Management Studio's tree-like list?

I have accidently deleted my database files using Windows Explorer.

Now I want to remove these databases from SQL Server Management Studio' tree-like list.

The following screenshot shows the database names (musics and silverlight) I want to remove.

alt text

I attempted to delete them one by one but I got an error for each attempt. The following screenshot just shows my attempt to delete musics:

alt text

These orphan names really upsets my eyes and can produce misunderstanding in the future. Is there any way to remove these?

like image 228
xport Avatar asked Oct 14 '25 04:10

xport


1 Answers

Looks like they are already deleted but just still showing in the Databases tree - did you try to right-click on Databases node and select Refresh?

like image 84
Denis Ivin Avatar answered Oct 17 '25 14:10

Denis Ivin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!