Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Running Profiler via a SQL script.

Started 1 month, 1 week ago by Jimbo
Hi, SQL 2005 Enterprise Edition (SP2) I'm having trouble running a SQL script generated via the SQL 2005 Profiler. I've set up a very simple proifle template to look for 'Crystal Report' SQL that runs for over 2 seconds in the mill - the only two filters I have on the template are 'Application name' and 'Duration'. When I run it in the Profile GUI, all is fine, and I receive the expect output....
Site: SQL Server Forum  SQL Server Forum - site profile
Forum: Other SQL Server Topics  Other SQL Server Topics - forum profile
Total authors: 2 authors
Total thread posts: 3 posts
Thread activity: no new posts during last week
Domain info for: sqlmonster.com

Other posts in this thread:

Erland Sommarskog replied 1 month, 1 week ago
There was a bug with creating the script in Profiler, so that traces were not exported correctly. I don't remember when it was fixed, but take a look at the calls to sp_trace_setfilter at the end of the script, and verify the calls against the documentation in Books Online. Signature Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Links for SQL Server Books Online: SQL 2008: ...

Jimbo replied 1 month, 1 week ago
Erland, Thank you. I have created scripted profiler SQL myself without using the Profiler to create it for me, so I will have a look at the SQL created. Thanks once again. James.

 

Top contributing authors

Name
Posts
Jimbo
2
user's latest post:
Running Profiler via a SQL script.
Published (2009-11-08 18:49:00)
Erland, Thank you. I have created scripted profiler SQL myself without using the Profiler to create it for me, so I will have a look at the SQL created. Thanks once again. James.
Erland Sommarskog
1
user's latest post:
Running Profiler via a SQL script.
Published (2009-11-06 23:38:00)
There was a bug with creating the script in Profiler, so that traces were not exported correctly. I don't remember when it was fixed, but take a look at the calls to sp_trace_setfilter at the end of the script, and verify the calls against the documentation in Books Online. Signature Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx...

Related threads on "SQL Server Forum":

Related threads on other sites:

Thread profile page for "Running Profiler via a SQL script." on http://www.sqlmonster.com. This report page is a snippet summary view from a single thread "Running Profiler via a SQL script.", located on the Message Board at http://www.sqlmonster.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity