2005和2008如何清除SQL Server Management Studio的最近服务器列表

2005和2008如何清除SQL Server Management Studio的最近服务器列表

http:
//www.cnblogs.com/upto/archive/2009/02/19/1393557.html

SQL Server Management Studio (SSMS) 的“连接到服务器”对话框会记录用户所有访问过的服务器名称,这个功能对于经常连接多个数据库的人来说确实挺方便的。

图:
0035--2005和2008如何清除SQL Server Management Studio的最近服务器列表.JPG

不过使用了一段时间之后,这个列表会变得很长。里面还有很多服务器名称都已经失效了,很想把这个列表清空了。但是很郁闷在SSMS的界面找不到可以清空该列表的地方,于是我Google了一把,找到了答案。

对于 SQL Server
2005 Management Studio,可以删除以下文件清空该列表:

WinXP: C:Documents
and Settings<user>Application DataMicrosoftMicrosoft SQL Server90ToolsShellmru.dat
Vista
/Win7: C:Users<user>AppDataRoamingMicrosoftMicrosoft SQL Server90ToolsShellmru.dat

对于 SQL Server
2008 Management Studio,可以删除以下文件清空该列表:

WinXP: C:Documents
and Settings<user>Application DataMicrosoftMicrosoft SQL Server100ToolsShellSqlStudio.bin
Vista
/Win7: C:Users<user>AppDataRoamingMicrosoftMicrosoft SQL Server100ToolsShellSqlStudio.bin


test account for wechat development
原文地址:https://www.cnblogs.com/swlin/p/3171388.html