I have this cursor: [paste your CURSOR declaration and the loop that uses it]. Two questions: first, would a cursor FOR loop be simpler here than my manual OPEN/FETCH/CLOSE version, and why or why not? Second, is there any path through this code where the cursor could be left open if an error occurred partway through the loop?
