I should have seen the solution eariler, or followed Nick's advice.

The easy way to track long winded queries is the set the SQL profiler filter to 
include 'declare%' in the TextData field.  The original query will be 
displayed, under the sp_prepexec, and then executed.  So this query will 
execute exactly like further calls via the sp_exec statement (or dynamic SQL 
statement).  

Thanks Nick.

--bj 

> For the filter, I'm limiting my search to reads greater or equal to 
> 5000.  
> 
> For the data columns, I'm selecting everything.
> 
> For the events, I'm selecting Security Audit: Audit login, logout; 
> Sessions: ExistingConnection; Stored Procedures: All; TSQL: 
> SQL:BatchCompleted.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247630
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to