Database Error Messages

PLS-00364

loop index variable 'string' use is invalid

Action

Change the loop range expression so that it does not reference the loop counter. If you want to refer in the range expression to another variable with the same name as the loop counter, change either name or qualify the variable name with a label.

Use an IN OUT parameter instead of the OUT parameter. Inside a