Today I was looking for a way how to access MSSQL server trace data from TSQL. The solution is to import data to database via function
fn_trace_gettable.
SELECT * INTO temp_trc FROM fn_trace_gettable('c:\temp\trace.trc', default);
No comments:
Post a Comment