bug#11406

dev: Valdevir
qua: 


git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@83094 d1611594-4594-4d17-8e1d-87c2c4800839
master
fabio 2018-07-03 21:29:46 +00:00
parent 0c7323b105
commit 5ce55309dd
1 changed files with 4 additions and 3 deletions

View File

@ -2,8 +2,8 @@ declare
column_exists exception; column_exists exception;
pragma exception_init (column_exists , -01430); pragma exception_init (column_exists , -01430);
begin begin
execute immediate 'ALTER TABLE FISCAL_IMPRESSORA ADD (INTEGRADOTOTVS NUMBER(1,0), ERRO VARCHAR2(4000 BYTE))'; execute immediate 'ALTER TABLE FISCAL_IMPRESSORA ADD (INTEGRADOTOTVS NUMBER(1,0))';
ALTER TABLE FISCAL_IMPRESSORA ADD (ERRO VARCHAR2(4000 BYTE) execute immediate 'ALTER TABLE FISCAL_IMPRESSORA ADD (ERRO VARCHAR2(4000 BYTE))';
exception when column_exists then null; exception when column_exists then null;
end; end;
/ /
@ -11,7 +11,8 @@ declare
column_exists exception; column_exists exception;
pragma exception_init (column_exists , -01430); pragma exception_init (column_exists , -01430);
begin begin
execute immediate 'ALTER TABLE FISCAL_R2 ADD (INTEGRADOTOTVS NUMBER(1,0), ERRO VARCHAR2(4000 BYTE)))'; execute immediate 'ALTER TABLE FISCAL_R2 ADD (INTEGRADOTOTVS NUMBER(1,0) )';
execute immediate 'ALTER TABLE FISCAL_R2 ADD (ERRO VARCHAR2(4000 BYTE))';
exception when column_exists then null; exception when column_exists then null;
end; end;
/ /