Oracle Tutorial

What is Oracle
SQL Keywords

Oracle Wildcards

Oracle Wildcards

Oracle Aliases

Oracle Aliases

MySQL Tutorial

MySQL Tutorial

PL/SQL Tutorial

PL/SQL Tutorial

Oracle Interview Questions

Oracle Interview Questions and Answers


Oracle Close Cursor

In Oracle, once you have finished using cursor, the next step is to close the declared cursor. You can use the CLOSE statement to close the cursor.

Oracle Close Cursor Syntax

To close a declared cursor in Oracle, use the following syntax:

Syntax

Parameters:

cursor_name: The name of cursor.

Oracle Close Cursor example

The following Oracle example shows how to close cursor:

Example

Note:

In the above example, shows how to use the Close statement to open cursor.