Friday, November 6, 2009

Explicit Cursors

Explicit Cursors


An explicit cursor is defined in the declaration section of the PL/SQL Block. It is created on a SELECT Statement which returns more than one row. We can provide a suitable name for the cursor.



The General Syntax for creating a cursor is as given below:


CURSOR cursor_name IS select_statement;


• cursor_name – A suitable name for the cursor.


• select_statement – A select query which returns multiple rows.

No comments:

Post a Comment