David Connell

Software Developer - Red Gate Software

How to add to the list of available SQL Servers

Published Monday, March 10, 2008 11:03 AM

Have you ever wanted to add to the list of SQL Servers found in Red Gate's SQL Compare, SQL Data Compare, SQL Doc or even SQL Data Generator?

If so, here goes.

All you need to do is add the name of the SQL Server instance to the registry. The application looks for servers named 0,1,2,3.... under ‘HKCU\Software\Red Gate\Shared\Servers'. You will also need to add an offset which has a limit of 10. If you are adding more than one server, increment the offset by 1 and add a new key for each subsequent server with the next consecutive number upto a maximum of 9.

In the following example I will add a new server with a customized connection string to specify a port number over TCP/IP.

Start up your regedit.exe, and navigate to ‘HKCU\Software\Red Gate\Shared\Servers'. (You may need to create the last part.)

Add "0" as a string with the server that you wish to add eg:

Add or modify "offset" (DWORD) to 1

So now my registry looks like

Now Refresh your list of SQL Servers and this new item has been added.

There you go, it was that simple.

Comments

No Comments
You need to sign in to comment on this blog

















<March 2008>
SuMoTuWeThFrSa
2425262728291
2345678
9101112131415
16171819202122
23242526272829
303112345
Reporting on Mobile Device Activity Using Exchange 2007 ActiveSync Logs
 In this new column giving practical advice on all things Sys Admin related, Ben Lye takes on the often... Read more...

The Bejeweled Puzzle in SQL
 Alex Kozak provides another SQL puzzle to hone your SQL Skills with.  Read more...

Using Powershell to Generate Table-Creation Scripts
 For all of us who learn best by trying out examples, Bob Sheldon produces a PowerShell script file for... Read more...

Configuring Exchange Server 2007 to Support Information Rights Management
 In Exchange Server 2007, Information Rights management is easy to set up once you have set up the... Read more...

SQL Response: The dim sum interview
 Richard Morris met David and Nigel of the SQL Response team, in a dim sum Restaurant in Cambridge. They... Read more...