I know SeeFusion shows you the currently running sql query and the longest
running query of any processed page, maybe you can use that information or
take a look at their code and perhaps modify it a little to do what you
need?



-----Original Message-----
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 20, 2005 12:29 PM
To: CF-Talk
Subject: Re: Showing Executed SQL Statement...

> 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.

I think that's the only thing available for that with 6.1
unfortunately. I suppose if the DSN is using pooled statements that
the SQL syntax would be stored in the statement pool, but with
debugging off I don't think there's any way synch that with the query
you just ran in 6.1.

s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209994
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