declare column_exists exception; pragma exception_init (column_exists , -01430); begin execute immediate 'ALTER TABLE MD_RESUMO_ECF ADD TIPORESUMO NUMBER(1)'; exception when column_exists then null; end;