How to perform the following in Oracle PL/SQL:
BEGIN
FOR id IN ( 10,200,30,43,5444,6 )
LOOP
process_the_record ( id );
END LOOP;
END;
As this does not seem to work for me.
I basically need to iterate through each of these numbers and pass each number into the procedure, process_the_record (id).
You can use a collection– you’d just need to call
process_the_recordrather thandbms_output.put_line