Home All Groups Group Topic Archive Search About

SQL Profiler Question....



Author
2 Jun 2005 9:56 PM
Hanuman Mishra
SQL Profiler is only human interactive? Is it possible to run the
application through API? Will it send any notification when certain event
happens?

I am using SQL 2K.

Hanuman.

Author
3 Jun 2005 2:18 AM
Sue Hoegemeier
You can use the sp_trace_xxxxx stored procedures to create
and execute traces. You can create a trace in profiler and
save it to a trace file - that's the quickest way to get
started with it. You control the execution of the trace with
sp_trace_getstatus. You can find more information on the
tracing stored procedures in books online
Tracing is different from alerts. I can't think of any
direct way to modify a trace to have it send alerts.

-Sue

On Thu, 2 Jun 2005 14:56:02 -0700, "Hanuman Mishra"
<Mishra_Hanu***@rediffmail.com> wrote:

Show quoteHide quote
>SQL Profiler is only human interactive? Is it possible to run the
>application through API? Will it send any notification when certain event
>happens?
>
>I am using SQL 2K.
>
>Hanuman.
>

Bookmark and Share