Re: SQL profiler question
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Tue, 6 Sep 2005 22:47:35 -0400
Take a look at sp_trace_setevent in BooksOnLine. You may want to use one of
the 3rd party log sniffer tools for something like this as it can make life
a lot easier. I also don't recommend tracing directly to a table for
performance reasons. Trace to a file and then use fn_trace_gettable to
import it to a table later on.
--
Andrew J. Kelly SQL MVP
"jaylou" <jaylou@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:531882AB-E152-4227-B4D0-6A8D4F3CC73F@xxxxxxxxxxxxxxxx
> Hi All,
> I am trying to capture every time either SA or a DB_owner adds, changes,
> or
> deletes a user. Basically I am looking to trap all security functions on
> my
> SQL servers.
> I started a trace that loads a table. The only problem is that the event
> class is a number not the description. Is there a reference table for
> this
> or is there a way to load the description?
.
- Follow-Ups:
- Re: SQL profiler question
- From: jaylou
- Re: SQL profiler question
- From: jaylou
- Re: SQL profiler question
- References:
- SQL profiler question
- From: jaylou
- SQL profiler question
- Prev by Date: Re: Profiler Interaction with SQL Server-Documentation
- Next by Date: Re: SQL profiler question
- Previous by thread: SQL profiler question
- Next by thread: Re: SQL profiler question
- Index(es):
Relevant Pages
|