?
Solved

how to script trace definition from trc file in sql2005

Posted on 2010-09-23
5
Medium Priority
?
427 Views
Last Modified: 2012-08-14
I have run server side trace, now I need to edit my trace, I tried with old *.trc file open and try to script them, but that option doesn't visible to me. I don't want to build thsi from scratch as it involved very complex setting.


trace-file.jpg
0
Comment
Question by:motioneye
[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
  • 3
5 Comments
 
LVL 8

Expert Comment

by:Narender Gakka
ID: 33742595
Did you go to the Properties and checked whether you could modify it and get the desired result out of it.
0
 
LVL 29

Accepted Solution

by:
QPR earned 2000 total points
ID: 33742606
you script out trace templates as opposed to loaded trace files don't you?
tdf not trc
0
 
LVL 29

Assisted Solution

by:QPR
QPR earned 2000 total points
ID: 33742613
in other words you start with a blank template, modify all your columns/filters to suit and then script that out to create a sql file that can create this template at a later date when required
0
 

Author Comment

by:motioneye
ID: 33776126
Hi,
I don't want to tart with blank template, as I said its complex.. anyway I can extract this from trc files ? or can I extract this from somewhere inside sql since its been running as server side trace?
0
 
LVL 29

Assisted Solution

by:QPR
QPR earned 2000 total points
ID: 33776321
Not as far as I know. You add columns and filters then save that as a template rather than try to create a template from a previosly created trc file. But as I say, only as far as I know. If there is a trick then I haven't seen ot
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Suggested Courses

770 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