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!

Pass multiple strings and multiple values as parameter with Oracle backend

2765441Sep 30 2014 — edited Oct 3 2014

I have a metrics report designed in SSRS 2012 which uses a SharePoint list as the base parameters for an Oracle back end.

I have been able to get multiple parameters to work in my reporting but have come to a road block.

My issue is that some of the parameters could have multiple values themselves.

My base query is:
SELECT     service, app
FROM     Event
WHERE SERVICE_ID IN (:service)
GROUP BY service, app
I have the parameter set to allow multiple values.

Example parameter data is (service):
1  Trench
2  Disk, Rake, Truck
3  Plow

If I select all the parameters, my expected output should give me:
1  Trench  Northern
2  Disk  Midwest
3  Rake  LineDrive
4  Truck  Alpine
5  Plow  GreenStar

Any assistance and direction is greatly appreciated!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 31 2014
Added on Sep 30 2014
8 comments
3,934 views