Ask a Question related to Macromedia ColdFusion, Design and Development.
-
dougk #1
CFQUERY and maxrows attribute
ok, maybe I'm on some bad crack today, but I recall that the maxrows attribute
of cfquery works AFTER the resultset is returned to CF from the DB. Is this
the case for all RDBMs? I'm noticing that this is not the case with CFMX and
Oracle. Maybe this behaviour changed? I'm now seeing teh maxrows attribute
being utilised in the DB itself. So, if I pass SQL returning 1000 rows to
Oracle and maxrows=200, oracle returns only 200, 201 actually, rows to CF. was
this change documented somewhere?
dougk Guest
-
cfquery with maxrows = faster processing ?
Yes, there is an increase in speed, as returning 10 rows is less work than returning 50, but that may not be the whole story. Most of a query's work... -
cfquery with maxrows supposed to be faster?
The query speed will not be affected. The page will load more quickly though, if you are displaying only 10 rows of data rather than 50. How long... -
cfquery, timeout attribute and cfserver timeout setting
On our server, CFMX 6.1, we have an option setting for timeout requests as120 seconds. Then in my query, I tried replacing the timeout setting to... -
empty var used in <cfquery> name attribute
Hi guys, here is part of the code that I have. <cfloop condition...> <cfif listFind (x, y)> <cfquery name="q"> ... </cfquery> </cfif> <cfif... -
CFGRID ? maxRows
I agree with ArtNirvana. If you have maxRows then is reasonable to have page navigation and also you can think about record locator based on sort... -
-
Tom Jordahl #3
Re: CFQUERY and maxrows attribute
Not changed but documented in the description of maxrows.
"maximum number of rows to return".
If we aren't limiting the data back from the RDBMs, then where is the
savings in network or memory?
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest



Reply With Quote

