AdmMono/src/db/migration/V20160808_1702__alteracaoTa...

8 lines
232 B
SQL

declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'alter table tarjeta_fidelidad modify numtarjeta NUMBER(14,0)';
exception when column_exists then null;
end;