Closing a cursor variable v14
Use the CLOSE
statement described in Closing a cursor to release the result set.
Note
Unlike static cursors, you don't have to close a cursor variable before you can reopen it. When you reopen it, the result set from the previous open is lost.
This example includes the CLOSE
statement:
The following is the output from this procedure: