SyntaxFix
Write A Post
Hire A Developer
Questions
I needed solution for Oracle and I found this worked for me inside my query for my report for DB>=10g.
select * from where in ( select regexp_substr(,'[^,]+', 1, level) from dual connect by regexp_substr(, '[^,]+', 1, level) is not null );
source https://blogs.oracle.com/aramamoo/entry/how_to_split_comma_separated_string_and_pass_to_in_clause_of_select_statement