declare column_exists exception; pragma exception_init (column_exists , -01430); begin execute immediate 'alter table boleto modify NUMASIENTOVINCULADO varchar(12)'; exception when column_exists then null; end;