Fetching rows From a cursor variable v14
After you open a cursor variable, you can retrieve rows from the result set using the FETCH
statement. For details, see Fetching rows from a cursor.
This example uses a FETCH
statement to cause the result set to be returned into two variables and then displayed. You can also use the cursor attributes used to determine cursor state of static cursors with cursor variables. For details, see Cursor attributes.