Ask a Question related to Coldfusion Database Access, Design and Development.
-
Wilgeno #1
cfquery cache stores failed queries
cfquery cache still stores failed queries. This was reported years ago
([url]http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=6&threadid=8[/url]
58673&highlight_key=y&keyword1=cache is the earliest report I can find)
Still no fix from Macrobe. Has anyone found a suitable work around. BTW:
setting the cache timespan to createtimespan(0,0,0,0) failed to clear the query
from the cache. I was only able to clear the query from cache by removing the
cachedwithin attribute. That is not a valid work around.
<cftry>
<cftransaction isolation="READ_COMMITTED">
<cfquery name="getStyles" datasource="#application.datasource#"
cachedwithin="#CreateTimeSpan(0,4,0,0)#">
SELECT DISTINCT Style
FROM Properties
WHERE
ISNULL(Style,'') != ''
ORDER BY
Style
</cfquery>
</cftransaction>
<cfcatch type="Database">
<cfinclude template="/mlsfindershared/__error_message.cfm">
<cfinclude template="/mlsfindershared/__error_email.cfm">
</cfcatch>
</cftry>
Wilgeno Guest
-
Cache queries.
Hi, I know that the default cache queries in the Cf Administrator is 100, but is there a way I can find out what RAM a query is using? The... -
two queries - one cfquery call
I'm trying to do the following in one single cfquery call. However, I'm having trouble referencing "memberCount" in the Insert part of the... -
ERROR: cache lookup failed for type 0
Tzahi Fadida <tzahi_ml@myrealbox.com> writes: Um. The "clean" way to do this is to use BlessTupleDesc and then heap_formtuple. That requires... -
returning a setof tuples like a subquery was(ERROR:cache lookup failed for type 0 )
yes you were right it works now. 10x, sorry for the rookie mistake I jumped the gun on the last one. If you will i have another question on the... -
ERROR: cache lookup failed for type 0
Hi, I am learning how to use the c functions and my function below works when I do: select testgetrows(); but when I do select * from... -
Kevin Schmidt #2
Re: cfquery cache stores failed queries
Any chance you could load the query into an application scope variable as the method of caching?
Kevin Schmidt Guest



Reply With Quote

