sql server trace flag 3605

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

   

About Prince Rastogi

Prince Rastogi is working as Database Administrator at Elephant Insurance, Richmond. He is having more than 8 years of experience and worked in ERP Domain, Wealth Management Domain. Currently he is working in Insurance domain. In the starting of his career he was working on SQL Server, Internet Information Server and Visual Source Safe. He is post graduate in Computer Science. Prince is ITIL certified professional. Prince likes to explore technical things for Database World and Writing Blogs. He is Technical Editor and Blogger at SQLServerGeeks.com. He is a regular speaker at DataPlatformDay events in Delhi NCR. He has also presented some in depth sessions about SQL Server in SQL Server Conferences in Bangalore.

View all posts by Prince Rastogi →

Leave a Reply

Your email address will not be published.