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

check traces Expand / Collapse
Author
Message
Posted Sunday, January 20, 2013 5:39 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Today @ 1:56 PM
Points: 1,749, Visits: 3,154
Is there a way to find out what traces are enabled in a sql server instance?
and also what is the default traces that are turned on?

Thanks
Post #1409330
Posted Sunday, January 20, 2013 10:32 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:02 PM
Points: 7,081, Visits: 12,574
sqlfriends (1/20/2013)
Is there a way to find out what traces are enabled in a sql server instance?
and also what is the default traces that are turned on?

Thanks


-- all traces
SELECT * FROM sys.traces;

-- the default trace
SELECT * FROM sys.traces WHERE is_default = 1;



__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1409352
Posted Tuesday, January 22, 2013 9:14 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Today @ 1:56 PM
Points: 1,749, Visits: 3,154
Thanks much, it works.
Post #1410098
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse