(apologies if this hits the list 2x, been having mail trouble lately)

Make sure you wrap your sql statement in a preserveSingleQuotes() when 
you paste it inside the cfquery tag, and you can't use cfqueryparam with 
this method.

-nathan strutz
http://www.dopefly.com/

Ben Doom wrote:
> This shows up in debugging info.  If you want it to show up without
> enabling debugging, I'd create the query in a <cfsavecontent> block, so
> you can run it and display it without possible values changing in the
> meantime.
> 
> --Ben
> 
> Dan G. Switzer, II wrote:
> 
>>Is there a way in CF6.1 to show the executed SQL statement that a <cfquery>
>>tag ran? I know in CF7 there's a result struct that returned, but I need
>>something that works in 6.1.
>>
>>I'm sure there's Java method I can invoke, but if someone knows offhand, I'd
>>appreciate it. It would save me time from researching the issue.
>>
>>I've found a solution Ben Forta came up that involves using the
>>ServiceFactory and the Debugging Services, but I can't use debugging
>>information.
>>
>>Thanks,
>>Dan
>>
>>
>>
>>
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210011
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to