Declaring a user-defined REF CURSOR type variable v14
You must perform two distinct declaration steps to use a user-defined REF CURSOR
variable:
- Create a referenced cursor
TYPE
. - Declare the actual cursor variable based on that
TYPE
.
The syntax for creating a user-defined REF CURSOR
type:
This example shows a cursor variable declaration: