opening a cursoropening the cursor executes the


Opening a Cursor

Opening the cursor executes the query & identifies the result set that consists of all rows that meet the query search criteria. For the cursors declared using the FOR UPDATE clause, the OPEN statement also locks these rows. An illustration of the OPEN statement is as shown:

DECLARE

CURSOR c1 IS SELECT ename, job FROM emp WHERE sal < 3000;

...

BEGIN

OPEN c1;

...

END;

The Rows in the result set are not retrieved when the OPEN statement is executed. Instead, the FETCH statement retrieves the rows.

Request for Solution File

Ask an Expert for Answer!!
PL-SQL Programming: opening a cursoropening the cursor executes the
Reference No:- TGS0172692

Expected delivery within 24 Hours