Hi, i'd like to know if it is possible to concatenate a parameter to a IN condition, something like this
SELECT *
FROM table
WHERE column1 IN parameter);
*column1 is of type NUMBER
*the value of parameter VARCHAR2 could be 4,5,6,8
once interpreted should be like :
SELECT *
FROM table
WHERE column1 IN (4,5,6,8);
When i send just a number (4), it's ok, but when i send two or more number (4,5,6) the error "NUMBER INVALID" is present
If anyone has a tip on this i'd be thankful
SELECT *
FROM table
WHERE column1 IN parameter);
*column1 is of type NUMBER
*the value of parameter VARCHAR2 could be 4,5,6,8
once interpreted should be like :
SELECT *
FROM table
WHERE column1 IN (4,5,6,8);
When i send just a number (4), it's ok, but when i send two or more number (4,5,6) the error "NUMBER INVALID" is present
If anyone has a tip on this i'd be thankful