Home » Other » Training & Certification » update plsql table (Oracle 9i)
update plsql table [message #349902] Tue, 23 September 2008 07:46 Go to previous message
pointers
Messages: 451
Registered: May 2008
Senior Member
I have a doubt..
how to load records into plsql table.
i have created the code. now i need to load the records into a plsql table.
DECLARE 
CURSOR rf_cr IS SELECT countryid FROM mine_country;
TYPE rf IS REF CURSOR; 
rc rf;
id NUMBER;
BEGIN
FOR a IN rf_cr LOOP
EXECUTE IMMEDIATE 'select count(cityid) from mine_city where countryid=:a' INTO id USING a.countryid; 
END LOOP;
END;


i want to load or update the id in to a plsql table.

Regards,
Pointers.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need help in Oracle application Framework
Next Topic: Difference between Oracle 9i and Oracle 10g OCA developer's exam
Goto Forum:
  


Current Time: Fri Apr 26 18:03:22 CDT 2024