SELECT count(*) FROM :: fn_trace_getinfo(default) WHERE property = 5 and value = 1
SELECT * FROM :: fn_trace_getinfo(default)
EXEC sp_trace_setstatus 1, @status = 0EXEC sp_trace_setstatus 1, @status = 2
Copyright © 2006-2008 Corey Goldberg
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.