Hi mate,Just by comparing the SQL statements, i can see that the
following string isn't correctly formatted:"SELECT count(*) from
pl_aud_interaction where business_unit_cd in ('BTXU','BTXN') and file_id
in (select file_id from pl_aud_file_detail where batch_id in (+
batch_id_btxu +, + batch_id_btxn +))");Instead try:"SELECT count(*) from
pl_aud_interaction where business_unit_cd in ('BTXU','BTXN') and file_id
in (select file_id from pl_aud_file_detail where batch_id in ("+
batch_id_btxu + ", " +...