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!

Need logic to assign multiple values to a column in Record type

1031988Jan 7 2014 — edited Jan 7 2014

Hi,

Could you tell me the logic for below.

In my package, I will get more than one record for the column " credit_offers " , How should i make this column as a table type and assign values to it.                     

TYPE sr_rec_type IS RECORD

(task_status                       apps.jtf_task_statuses_tl.name%TYPE

,task_type                          apps.jtf_task_types_tl.name%TYPE

,jt_new_res_id                    apps.jtf_task_assignments_audit_b.new_resource_id%TYPE

,jt_source_name                 apps.jtf_rs_resource_extns.source_name%TYPE

,credit_offers                      apps.qa_results_v.character1%TYPE

);

TYPE sr_tbl_type IS TABLE OF sr_rec_type

INDEX BY BINARY_INTEGER;

PROCEDURE  service_record(p_service_req_num IN  VARCHAR2

                                           ,p_service_req_tbl OUT sr_tbl_type

                                           ); 

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 4 2014
Added on Jan 7 2014
23 comments
1,072 views