> I want to limit the total execution time of a stored procedure being called > from Coldfusion using <cfstoredproc> to 90 seconds. > With cfquery there is a parameter timeout, but there is no equivalent in >cfstoredproc. Can anyone think of an alternative to > accomplishing this. > > The trick is, I want to wrap the stored procedure call around a cftry block > and create an empty query if the procedure times out.
You can often call stored procedures using CFQUERY. If your stored procedure doesn't return multiple recordsets, that might be a good approach. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsit ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333252 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

