Viewing 2 posts - 1 through 2 (of 2 total)
I found the answer. This works::-D
EXEC xp_regread 'HKEY_LOCAL_MACHINE','SOFTWARE\Microsoft\Microsoft SQL Server\MSAS10_50.MSSQLSERVER\SETUP','SQLPath'
GO
February 4, 2013 at 7:47 am
#1583957
I was working on views or codes to get the same information. Thank you for the codes - saved me a lot of time. Nice code, too!
July 10, 2008 at 8:18 am
#840855