Declaring a User Defined REF CURSOR Type Variable v13
You must perform two distinct declaration steps in order 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 is as follows:
The following is an example of a cursor variable declaration.