In Oracle, can a bind variable be put in IN() clause if it can be empty? Asking because in the SQL if Oracle see IN() without any data in it, it shows error
ORA-00936: missing expression.
Edit: Failed to mention that no PL/SQL can be used...
Edit2: Also failed to mention that the variable is either in format 1,2,3 or empty string. The empty string cannot be replaced with NULL.
IN(null)?null? Empty string ('') andnullare the same thing in Oracle. If you have a bind varible in the query then it won't disappear. Maybe you should show your code so we can see what you really mean, and any errors you've got so far.