I am trying to execute a function which has a parameter with multiple value.
SELECT *
FROM TABLE(MyFunction('1,2'));
This is how I created function
create or replace FUNCTION MyFunction
(
-- Add the parameters for the function here
Ids varchar2
)
--
//Extra bit and pieces
If I create single value function,
create or replace FUNCTION MyFunction
(
-- Add the parameters for the function here
p_party_id IN NUMBER
)
And execute like this
SELECT *
FROM TABLE(MyFunction(1));
Then above query works fine for me.