Attributes | Description |
---|---|
%FOUND | True, if the SQL statement has changed any rows. |
%NOTFOUND | True, if record was not fetched successfully. |
%ROWCOUNT | The number of rows affected by the SQL statement. |
%ISOPEN | True, if there is a SQL statement being associated to the cursor or the cursor is open. |
/* Create the cursor type. */
TYPE company_curtype IS REF CURSOR RETURN company%ROWTYPE;
/* Declare a cursor variable of that type. */
company_curvar company_curtype;