begin declare procedure exec(p_stmt in varchar2) is begin execute immediate p_stmt; exception when others then null; end; begin exec('drop table wmp_report_drivers cascade constraints'); exec('drop table wmp_report_layouts cascade constraints'); exec('drop table wmp_report_queries cascade constraints'); end; end;