连接SQL SERVER的时候登录名如何清除

先停止MsSql Server服务

①SQL Server 2008:C:\Documents and Settings\Administrator\Application Data\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin找到该文件,删除。

②SQL Server 2005:C:\Documents and Settings\Administrator\Application Data\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat找到该文件,删除。

③SQL Server 2000:打开注册表,找到HKEY_CURRENT_USER\Software\Microsoft\Microsoft  SQL  Server\80\Tools\Client\PrefServers\清除相应的内容。

重新启动MsSql Server服务,即可清空。