Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

stored procedure with iterations

san!May 4 2016 — edited May 16 2016

Hello All,

     I am new to PL/SQL and I need help in writing a stored procedure. Here is my requirement

1. I should be able to fetch all rows from a single column (user_id) from table_1 and store them in an array variable say 'useridarray'.

2. I have to iterate 'useridarray' (for every user_id) and fetch it's related properties which are stored in table_2, table_3 (like first_name, last_name, email_address etc;.) etc;. and insert them into respective columns of table_1.

Request your help! Thank you very much in advance.

Regards,

Santhosh

This post has been answered by AlbertoFaenza on May 13 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2016
Added on May 4 2016
8 comments
1,356 views