This function will split an input string separated by commas into a string enclosed with single quotes. This is helful in applying conditions in dynamic SQL. dyn_string1 Function: create or replace function dyn_string1(ab varchar2)return varchar2 as t varchar2(2):=’,’; t1 varchar2(2):=””;