Re: Forcing a trace to start when SQL Server starts
From: Patricia (pat777@hotmail.com)
Date: 06/25/02
- Next message: Sue Hoegemeier: "Re: Rights to change an SP"
- Previous message: Patricia: "Re: Forcing a trace to start when SQL Server starts"
- In reply to: Patricia: "Re: Forcing a trace to start when SQL Server starts"
- Next in thread: Toni Lassila: "Re: Forcing a trace to start when SQL Server starts"
- Reply: Toni Lassila: "Re: Forcing a trace to start when SQL Server starts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Patricia" <pat777@hotmail.com> Date: Tue, 25 Jun 2002 16:16:29 +0200
Adding to my previous post: it doesn't matter if they shut down the SQL
Server Agent. Once the trace is started it will continue independently from
the SQL Server Agent.
"Patricia" <pat777@hotmail.com> wrote in message
news:#4zDEHFHCHA.2488@tkmsftngp09...
> You can also create a job running this SP, and schedule the job to start
> every time SQL Server starts.
>
> "Toni Lassila" <mpao@mc-europe.com> wrote in message
> news:b11796dd.0206250254.e8e526e@posting.google.com...
> > Let's say I've used SQL Profiler to create an analysis trace for
> > security logging. I'd like to have a complete trace of things like
> > logins, GDR events and such. I've taken the script output from
> > SQL Profiler and created a stored procedure which is stored in
> > a database running under SQL Server. The trace when started
> > writes all the events to a disk file that is not accessible to other
> > accounts (possibly even encrypted).
> >
> > How do I set up SQL Server to automatically run my stored procedure
> > and start the trace everytime SQL Server starts? I can make it so
> > it starts everytime SQL Server Agent starts, but doing so will
> > enable the admin to shut down the Agent and do whatever they please.
> > Sure, the trace will show the Agent being shut down but that's it.
>
>
- Next message: Sue Hoegemeier: "Re: Rights to change an SP"
- Previous message: Patricia: "Re: Forcing a trace to start when SQL Server starts"
- In reply to: Patricia: "Re: Forcing a trace to start when SQL Server starts"
- Next in thread: Toni Lassila: "Re: Forcing a trace to start when SQL Server starts"
- Reply: Toni Lassila: "Re: Forcing a trace to start when SQL Server starts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|