Hi, I agree with Joe, try doing the query as a stored procedure if applicable.
Also if it is still a long running stored procedure check out the indexing of the query. HTH, Anticlue On Fri, 31 Dec 2004 08:41:56 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote: > Andrew, > > How does the query you're querying get created in the first place? Is > there a way to 'clean' it further 'up' the chain? > > -Joe > > > On Fri, 31 Dec 2004 12:20:28 +0000, Andrew Dixon <[EMAIL PROTECTED]> wrote: > > Hi Ryan. > > > > That custom tag is no help as I need to DISTINCT on three columns. As > > a work around for the moment, I'm creating a table in the mySQL > > datasource and then populating it, doing the select and then deleting > > the table and it is about 100 times (really) quicker. The QofQ takes > > about 2 seconds and the work around takes about 0.02 seconds, which > > just seems silly as it is doing so much more work. > > > > Andrew. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189061 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

