Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Server-Side Trace in CLR Stored Procedure Expand / Collapse
Author
Message
Posted Monday, September 20, 2010 12:13 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, April 28, 2014 9:47 PM
Points: 3, Visits: 131
For application debugging purpose, we are designing for a trace feature to capture all application related SQL batches and debug messages on a SQL Server Instance. Exporting the trace is also required.

We run SQL batches and write the debug messages all within CLR Stored Procedures.

We are considering to
- Write code to insert trace records into database table.
- Use SQL Trace T-SQL.

Which do you think is usual practice and better? Or could you see any another approach?

Thank you.
Post #989139
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse