How To Know Where The Error Log File In SQL Server

Today I put this post because it is sometimes complicated or difficult, if not have much experience, search the eror log file or trace in SQL Server. Of course, this is a way, there are others. This is interesting because it is the name of the package and to Xp_readerrorlog people whom we like to code is more fun.

 
USE master
GO

XP_READERRORLOG 2, 1, N'Logging SQL Server messages in file', NULL, NULL, N'asc' 
GO

HTH – Antonio NAVARRO

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s