declaring cursor variablesonce a ref cursor type


Declaring Cursor Variables

Once a REF CURSOR type is define by you, and then you can declare the cursor variables of that type in any PL/SQL block or subprogram. In the example below, you declare the cursor variable dept_cv:

DECLARE

TYPE DeptCurTyp IS REF CURSOR RETURN dept%ROWTYPE;

dept_cv DeptCurTyp; -- declare cursor variable

Request for Solution File

Ask an Expert for Answer!!
PL-SQL Programming: declaring cursor variablesonce a ref cursor type
Reference No:- TGS0172703

Expected delivery within 24 Hours