In this article, we are going to explore xp_readerrorlog for reading SQL Server error logs using T-SQL command.

Reading SQL Server error log using T-SQL:

xp_readerrorlog

xp_readerrorlog Parameters Value Details:

xp_readerrorlog <paramter#1>,<paramter#2>,<paramter#3>,<paramter#4>,<paramter#5>,<paramter#6>,<paramter#7>

Parameter#1:… Read the rest