create or replace procedure myProcedure AS BEGIN execute immediate 'truncate table Event_name'; insert into Event_name select * from Event_name; END;