Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 question about sql server profiler.

Author  Topic 

Jay123
Yak Posting Veteran

54 Posts

Posted - 2010-05-11 : 11:36:45
I have come to this lesson in my book:


1. Launch SQL Server Profiler.
2. From the File menu, choose New Trace.
3. Connect to your SQL Server instance.
4. On the General tab, specify the following options:
A. Name of the trace
B. Blank template
C. Save to file and use the default file name
D. Maximum file size of 50 MB
E. Enable file rollover
5. On the Events tab, select the check boxes for the following events:
A. SQL:BatchCompleted
B. RPC:Completed
C. Showplan XML

6. Specify the following additional data columns:
A. CPU
B. Reads
C. Writes
D. Start Time
E. End Time
7. Run the trace.

Now its all good up to step 6.

Does this just mean organize the filters so they are at the begining.

Because i cannot for the life of me find a way to add thes columns on there own. even under user configurable there is no way to select these items.

I am useing sql server 2005 on windows 7.

Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-05-11 : 12:33:52
It doesn't mean to add them as a filter, it means to add the columns to your trace. You need to check the "Show all columns" box in order for them to appear first. Then you add them to your trace.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -