How can I get the path where SQL Server 2005 is installed in a system, through SQL command?
select filename from master.sys.sysfiles where name = 'master'