|
DECLARE
A TABLE%rowtype;
BEGIN
SELECT * INTO A FROM TABLE ...;
END;
Report an error.
%This is wrong...
I tried a downstream bid. It can be achieved.
Ask another question. How to get the COUNT of the number of cursor records?
Define a variable a
open cursor
Loop to get cursor variable
a:=cursor%rowcount;
--cursor%rowcount determines the number of rows of records fetched from the cursor, only the records of the cursor have been obtained, in order to get the number of records of the cursor |
|