June 22, 2010 at 7:42 am
i have turned on a trace by dbcc traceon, how wud i get the all information which is traced???
June 22, 2010 at 7:51 am
SQL Server Error Log.....
Trace flags, after they are enabled, remain enabled in the server until disabled by executing a DBCC TRACEOFF statement.
Thanks
DBATAG
Website : http://sqlserver-training.com
Email : info@sqlServer-Training.com
Thanks
DBATAG
Website : http://sqlserver-training.com
Email : dbatag@sqlServer-Training.com
June 22, 2010 at 7:55 am
are you confusing DBCC TRACEON with a system trace? (select * from sys.traces)
every DBCC TRACEON command does a different thing...some turn on something to be visible in performance counters, others format xml when the FOR XML command is used...they vary wildly and you'd need to really google each flag or read BOL for the common ones and their purpose.
you can run this command to see all the trace flags that are currently set, i believe:
DBCC TRACESTATUS();
Lowell
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply