I have a parameter created for a stored procedure looking to allow user to pass in multiple inputs.
create procedure sp1 (p1 in varchar2)
as
begin
select proc_id from proc_tbl where proc_id in (p1);
end;
The user expects to input multiple values separate by comma or space such as a1, b2, c3 in p1. All the PROC_ID stored in proc_tbl are in upper case.
The sp didn't run successfully and take in the inputs as a whole string.
In normal sql in clause we can just type out like this
select proc_id from proc_tbl where proc_id in ('A1', 'B2', 'C3')
How can we apply the same logic in oracle sp without case sensitivity?