0022773: Espec - Conta Corrente SVI

bug#22773
dev:valdevir
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@108815 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdir 2021-09-24 12:15:34 +00:00
parent 6e237d8275
commit da6f628c99
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,15 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD TAXA_CONVENIENCIA_SVI NUMBER(7,2)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE BOLETO ADD TAXA_CONVENIENCIA_SVI NUMBER(7,2)';
exception when column_exists then null;
end;

View File

@ -0,0 +1,13 @@
DO $$
BEGIN
ALTER TABLE ORGAO_CONCEDENTE ADD TAXA_CONVENIENCIA_SVI NUMBER(7,2);
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$
/
DO $$
BEGIN
ALTER TABLE BOLETO ADD TAXA_CONVENIENCIA_SVI NUMBER(7,2);
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$