In an IG, I select records (row selector) and save them in a text item; there are several records chosen. How can I process the said item (varchar2) in PL/SQL to insert the records in an oracle table?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Thank you very much for the quick answer
In which format you saved on the selection of the IG?
If you have just used a field value separator like a comma or colon, you can query as following:
Here is an example of the generated JSON:
You can query the above JSON data with the following SQL:
Output:
You can use the above SQL query for a cursor, then loop through the cursor records and insert it into the table.