declare object_exists exception; pragma exception_init (object_exists , -01430); begin execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD EMPRESA_ID NUMBER(7) DEFAULT -1 '; exception when object_exists then null; end;