Browse by Tags

SQL Server: Creating BlackBox kind of trace with TSQL
Published 28 May 8 6:59 AM | SSQA.net
Here is the kind of scripts defined within TEchnet articles about running black-box kind of traces against your SQL Server instance, then also you can take advantage of the blackbox trace if you are facing intermittent problems, you want to make sure...
SQL Server Audit Trace - things you need to take care!
Published 6 March 8 3:17 AM | SSQA.net
Audit trace is very helpful when you want to monitor a particular processes on your SQL Server, even for the successful logins and recent users activity on the databsaes. But the default trace would have many columns with the information and you need...
TSQL to create a TraceCollector with a default collection set
Published 24 September 7 5:45 AM | SSQA.net
use msdb declare @schedule_uid uniqueidentifier select @schedule_uid=(select schedule_uid from msdb..sysschedules where name=N'CollectorSchedule_Every_15min') declare @collection_set_id int; exec dbo.sp_syscollector_create_collection_set @name...