I\'ve got a notion that calling a query of queries is faster than a query from database, because the slowdown is in the communication between cf and the db. Is this true.
I've found that using a q OF q can be MUCH faster than pulling DB's from a query.
For example, I religiously use QoQ on sales reports. I have a sales report that would be pulled for a 1st quarter date range, that may show Sales figures by sales agent, and it may also show sales figures by product sold.
In my DB, the same tables/fields would be used for both sections that would appear on the same report.
I query the main table for my data based off the date range, and then I query those results to build each section of my report.
I found this this method was faster on both servers with the DB local and remote.