0018935: Cadastro de Cliente - NumFidelidade

bug#18935
dev:
qua:

retirando o Drop da Tabela

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@102431 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdir 2020-07-14 18:24:57 +00:00
parent 7f08a99811
commit 07d486f95c
2 changed files with 2 additions and 21 deletions

View File

@ -54,16 +54,4 @@ begin
when dup_val_on_index then null;
when except_02291 then null;
end;
/
-- ALTER TABLE DROP COLUMN
declare
object_exists exception;
except_00904 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00904 , -00904);
begin
execute immediate 'ALTER TABLE TARJETA_FIDELIDAD DROP COLUMN NUMTARJETA_BACKUP';
exception
when object_exists then null;
when except_00904 then null;
end;
/

View File

@ -37,11 +37,4 @@ BEGIN
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$;
/
-- ALTER TABLE DROP COLUMN
DO $$
BEGIN
ALTER TABLE TARJETA_FIDELIDAD DROP COLUMN NUMTARJETA_BACKUP;
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$;
/