如何从 Sql Server Management Studio 的树状列表中删除意外删除的数据库列表?
我使用 Windows 资源管理器意外删除了数据库文件。
现在我想从 SQL Server Management Studio 的树状列表中删除这些数据库。
以下屏幕截图显示了我要删除的数据库名称(musics 和 silverlight)。
我尝试将它们一一删除,但每次尝试都会出现错误。以下屏幕截图仅显示我尝试删除音乐:
这些孤儿名称确实让我不舒服,并且可能会在未来。 有什么办法可以去除这些吗?
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.
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:
These orphan names really upsets my eyes and can produce misunderstanding in the future.
Is there any way to remove these?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来它们已经被删除,但仍然显示在数据库树中 - 您是否尝试右键单击数据库节点并选择刷新?
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?