I thought about using cftry/cfcatch, but what if my second attempt is still
done before the table is again available... I was wondering if ColdFusion
had a "timer" function - such as, "wait 300ms before continuing"?

-----Original Message-----
From: Hoag, Claudia (LNG) [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 12:50 PM
To: CF-Talk
Subject: RE: What is this SQL Error?


Yes, but if it calls the database and doesn't wait for anything back, just
goes ahead and calls it again... wouldn't it happen the same as when I call
the queries - and the loop is faster than the database?

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 12:46 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: What is this SQL Error?


> The DBA wants me to call a stored procedure, "wait" until the 
> stored procedure is done, then continue with the loop to call 
> it again... Is there a way to make sure the store procedure 
> is "done" before the code continues?

I'm pretty sure that CF will handle this for you; CF won't call the next
iteration of the loop until the first one has completed.

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

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to