I have an comma delimited string which I want to use in an \"IN\" clause of the statement. eg: 100,101,102
Since In and \"IN\" clause I have to quote the individial
You can use your approach with REPLACE and IN if you format the entire select as a string - then use the string with either OPEN refcursor FOR or EXECUTE IMMEDIATE.