Hi Jeff,
i don't know if it's possible to use a NOT FOUND handler for a dynamic cursor, but your 2nd cursor should never work as an UPDATE can't be used for OPEN, you have to use Dynamic SQL instead.
What happens when you remove the handler or change it to CONTINUE instead of EXIT?
Hi Jeff,
i don't know if it's possible to use a NOT FOUND handler for a dynamic cursor, but your 2nd cursor should never work as an UPDATE can't be used for OPEN, you have to use Dynamic SQL instead.
What happens when you remove the handler or change it to CONTINUE instead of EXIT?
Dieter