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 Data\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat
Vista
/Win7: C:\Users\<user>\AppData\Roaming\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat

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

WinXP: C:\Documents
and Settings\<user>\Application Data\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin
Vista
/Win7: C:\Users\<user>\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin

相关文章:

  • 2022-02-07
  • 2021-06-21
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
猜你喜欢
  • 2022-03-04
  • 2021-08-25
  • 2021-07-31
  • 2022-12-23
  • 2021-10-06
  • 2022-01-20
相关资源
相似解决方案