Cursors

Cursors are used to process individual rows returned by a SELECT statement. They allow PL/SQL code to perform operations on a set of rows returned by a query.

There are two types of cursors in PL/SQL:

Cursor Attributes in PL/SQL

In PL/SQL, cursor attributes are used to provide information about the current state of the cursor. The following are the different cursor attributes: