How can I get list instance names of installed MS SQL Server on a local
machine ?
Two SQL Server can be installed on one machine with different instance name.
How can I get name of them ?
Regards
Dhiren
The second way is using SQL-DMO and have it list all the servers on the
local machine (really, it just iterates through the registry anyway, among
other things). Different SQL Servers will show up with the
SERVERNAME\INSTANCE, like SERVER1\MSSQLSERVER (default instance) or
SERVER1\MYINSTANCE (named instance).
Hope this helps!
"Dhiren" <Dhi...@Icode.com> wrote in message news:3c2a2ce6$1_2@dnews...