Hi Friends,

This is my fifth blog on SQL Server Trace Flag 3605 in the series of “SQL Server Trace Flags”. You can go to previous blog by clicking here.

Today I will show you the importance of trace flag 3605. Trace flag 3605 is used to redirect the output of some DBCC commands to the SQL Server Error Log .

For Example: if you are running DBCC PAGE () command then it will not give you required output logged in Error log until you will enabled the trace flag 3605. Let me show you this thing practically.

SQL Server Trace Flag 3605_1

SQL Server Trace Flag 3605_2

As shown in the above image of error log, Output of DBCC PAGE not logged in error log.

SQL Server Trace Flag 3605_3

SQL Server Trace Flag 3605_4

The above image clearly shows that the output has been logged in SQL Server error log.

PS: Do not use trace flags in production environment without testing it on non production environments and without consulting because everything comes at a cost.

HAPPY LEARNING!

Regards:
Prince Kumar Rastogi

Like us on FaceBook | Join the fastest growing SQL Server group on FaceBook

Follow Prince Rastogi on Twitter | Follow Prince Rastogi on FaceBook