declare
dup_val_on_index exception;
pragma exception_init (dup_val_on_index , -00001);
begin
execute immediate 'ALTER TABLE AG_CONTAS_PAGAR ADD (COMPETENCIA VARCHAR2(10))';
exception when dup_val_on_index then null;
end;