Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> any way to limit the number of iterations of a loop?
Hi there-
I was just wondering if anyone knows of a parameter (or something similar) for 8.0.5 that allows you to set a maximum number of iterations on a loop, regardless of the logic in the loop.
Basically, I have a developer that created a 5 line loop that had faulty logic (basically, while(true) loop;) and ran for about 6 hours before it could be shut down, sucking about 80% of the CPU in the process.
Anyone have a way of dealing with something like this?
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Wed Feb 24 1999 - 20:04:57 CST