You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Multiple Parameter List - With 2 Column Values Concatenated (BI Publisher)

Question
42
Views
0
Comments

Summary

ORA-00909: invalid number of arguments message when executing report with multiple parms.

Content

It is a business requirement to have Cost Centre code and Description in the drop down list.  Ie.

nnnn-<description>

Example 1:

1105-Chief Executives Office

1108-Board & Chair

When executing the BI publisher report and selecting multiple values the query (snippet) as follows has a ORA-00909 error. (codes.segment2 is the cost centre code eg. 1105   and the parameter :p_costcentre contains multiple values selected (see Example 1 above).

..
AND (codes.segment2 IN (SELECT substr(token,1,instr(token,'-')-1)
         from  (select regexp_substr(:p_costcentre, '[^,]+', 1, LEVEL) token

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!