How do I run a Sql Profiler trace from the command Line

  • Morning people,

    I've just spent some time building a trace  to be rolled out to several Servers. I want the traces to run for a few hours a day at peak times. I'd like to run it from the command line, How? is this the best way to run this ? Any other suggestions and a set of instructions would also be gratefully accepted.

     

    Thanks in advance

  • This was removed by the editor as SPAM

  • Take a look at the sp_trace_setstatus topic in Books on Line.  You could write a command to open an isql session and use this to set the status to 0 (off) or 1 (on).  Hope this helps.

     

    My hovercraft is full of eels.

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

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