> But a Stored Procedure would be faster still than just 
> running the SQL via a query (although you couldn't cache it)

You can't use CACHEDWITHIN/CACHEDAFTER to cache a recordset returned with a
CFSTOREDPROC tag, but you can call stored procedures from CFQUERY on some
platforms (such as SQL Server) and use CACHEDWITHIN/CACHEDAFTER with the
calling CFQUERY tag.

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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to