> So then you gain one benefit but lose the other.

Yes, although there are other ways to gain the other benefit.

> Will using cfqueryparam give a performance boost
> equal to using cachedwithin?

No, probably not in most cases. It will generally speed the execution of
your SQL by the database, in addition to filtering potentially harmful
database input.

> If not, I imagine you would NOT want to use cfqueryparam
> everywhere.

Not if you're using CACHEDWITHIN/CACHEDAFTER, perhaps. You may consider
caching your queries in persistent memory scopes (Session, Application,
Server) instead, though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to