How do youset a trace to run at given times.

  • Hello

    I know how to produce a trace in Sql Server 2005 using SQl profiler?

    My question is how do we set it up to

    run on regular intervals ?

    Moderage

  • Script it out (as a server-side trace), set the required variables, stick it in a SQL Agent job.

    In profiler: File -> Export -> Script Trace Definition.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • You can use the scripts mentioned in this[/url] article and set up a job which does server side trace.

    Pradeep Adiga
    Blog: sqldbadiaries.com
    Twitter: @pradeepadiga

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply