You can use Server Property errorlogfilename to get the error log file path.
SELECT SERVERPROPERTY(‘ErrorLogFileName’)
Written by
in
You can use Server Property errorlogfilename to get the error log file path.
SELECT SERVERPROPERTY(‘ErrorLogFileName’)
Thanks for the comment, will get back to you soon… Jugal Shah