declare column_exists exception; pragma exception_init (column_exists , -01430); begin execute immediate 'ALTER TABLE EMPRESA ADD (INDNAOPERMITECONFSEMMALOTE NUMBER(1,0) DEFAULT 0 NOT NULL)'; exception when column_exists then null; end;