Using Explicit Cursors  «Prev 

Building a Cursor Block in PL/SQL

In the DECLARE section, PL/SQL variables and the cursor are defined.

OPEN signals the opening of the cursor.

FETCH signals the retrieval of records into the cursor variable.

CLOSE signals the closing of the cursor after the processing of data is complete.