How to remove “Server name” items from history of SQL Server Management Studio

前端 未结 15 2530
南方客
南方客 2020-11-28 20:33

When trying to connect to a server in Management Studio (specifically 2008), there is a field where you enter the Server name. That field also has a drop-down list where it

15条回答
  •  失恋的感觉
    2020-11-28 21:28

    Rather than deleting or renaming this file:

    1. Close SQL Server Management Studio.
    2. Find the appropriate file (see the other posts).
    3. Open the .bin in a text/hex editior like NotePad++.
    4. Search for the name of one of the servers and identify the line number.
    5. Make a copy of the .bin/.dat file.
    6. Delete that line. Make sure you delete the entire line, it's possible if you have many the line could wrap.
    7. Open SQL Server Management Studio. Your dropdown will be blank.

提交回复
热议问题