Solved

AutoStart SQL Profiler

Posted on 2008-10-16
1
593 Views
Last Modified: 2008-11-07
Hi,
Does anybody know how to schedule an SQL Profiler Trace, save to File?
Or how to automatically start a trace when an event occurs such Transactions / Sec > 10?
0
Comment
Question by:coolrod_de
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 60

Accepted Solution

by:
chapmandew earned 125 total points
ID: 22730629
Yep.  Here is what you do...create your trace in profiler like you would when you run it by hand.  Export the trace definition to a file.  Take what is in that file and create a stored procedure.  Have SQL server run that stored proc on startup.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question