From Designer, I am connecting to Oracle DB. I have a requirement to pass multiple values into a Bind Variable.
I am using Dynamic Input to Load the sql and using the 'Text to Replace' to pass the parameter values. When I pass a single value, it works correctly. My requirement is to pass multiple values.
Think of it as trying to pass zip codes as parameter values to determine the number of residents. Sometimes, I may pass one value or I may pass multiple values.
The below sub query works well in SQL tool,
AND ZipCode IN
(SELECT regexp_substr(:Enter_Zip, '[^,]+', 1, LEVEL) token
FROM dual
CONNECT BY LEVEL <= length(:Enter_Zip) - length(REPLACE(:Enter_Zip, ',', '')) + 1
)
but when executing in Alteryx, it throws our an error error: ORA-00920: invalid relational operator (Tool Id: 20)
Appreciate your inputs and suggestions.