> The second answer still uses the CFQUERYPARAM bonuses for
> queries, so if you use the same SQL somewhere else, just
> changing the one field, then use CFQUEYPARAM...
>
> Disadvantage of using CFQUERYPARAM? You can't cache them!

You can't use cachedwithin/cachedafter. You can certainly cache it manually.

if(not isdefined("application.foo")) {
do the query and store in app scope
}
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to