@ninesided: performance issues, as well as using the right tool for the job. Given the choice to move the cursor from your request to the code, I would think that 99 times out of 100 it would be better to put this loop logic in some kind of managed code. This allows you to take advantage of using the debugger, compile time error checking, type saftey, etc.
My answer to the question is the same, if you use the cursor, close it as soon as possible, in oracle I will also try to use explicit cursors.
source
share