SQL Profiler Trace Events Flashcards
1
Q
T-SQL to query saved trace file?
A
select
spid,
StartTime,
Textdata,
EventSubclass,
ObjectID,
DatabaseID,
SQLHandle
from
fn_trace_gettable ( ‘e:\recompiletrace.trc’ , 1)
2
Q
A