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 Help to create a array variable in Pl/sql block

Rakesh119-OracleApr 22 2013 — edited Apr 23 2013
Hi,

I have a table a which has a this kind of relation
the fields involved
1. region
2. version
3. source
4. project id

Now in the table i have situation like this when for all records that do not have version is equal to something then i have to read all those distinct project ids(which would be names). Now i want to use the result like for certain version numbers there is so many project ids, the result i want to use it for creating a dashboard.

I want help in figuring out, can there be a array variable in pl/sql which can take variable number of arguments

so that we can read version - v1 project_ids('abc','bcd','def');

for each version there can variable number of project ids.

Thank you,
rakesh

Edited by: rakesh119 on Apr 22, 2013 2:21 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 21 2013
Added on Apr 22 2013
7 comments
211 views