PDA

View Full Version : MSDE Instance Name



dhansen
08-01-2005, 11:26 AM
Is there a way to retrieve the instance name of the MSDE instance just installed? i.e. <computername>\\<instance name>. In a pinch, just the computer name would do.

Thanks,
Dean

m.rudolph
08-01-2005, 03:01 PM
I don't know if it will help, but try checking this registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\SuperSocketNetLib\LastConnect

It should have something similar to:

-134086648:lpc:COMPUTERNAME\INSTANCE