This Oracle tutorial explains how to use the Oracle/PLSQL CLOSE statement with syntax and examples.
The final step of working with cursors is to close the cursor once you have finished using it.
The syntax to close a cursor in Oracle/PLSQL using the CLOSE statement is:
The name of the cursor that you wish to close.
For example, you could close a cursor called c1 with the following command:
Below is a function that demonstrates how to use the CLOSE statement: