Tag Archives: SQL Script to get error log location

How to get SQL Server Install Directory / Error LOG via TSQL Statement ?

Recently One of my friend asked me, how can I get to know where SQL Server binaries are Installed ? I was not having the script handily ready with me. So I promised her, I will be giving you a script, which will give you the entire information related the SQL Server installation. declare @RegPathParams [...]