fixes bug#24167

dev: Wilian
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@111412 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2022-03-21 21:04:49 +00:00
parent 0d659bf2c6
commit 715939d38e
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,17 @@
declare
dup_val_on_index exception;
pragma exception_init (dup_val_on_index , -00001);
begin
execute immediate 'INSERT INTO CONSTANTE (CONSTANTE_ID, NOMBCONSTANTE, DESCCONSTANTE, VALORCONSTANTE, INDTIPOCONSTANTE, INDMANTENIMIENTOUSUARIO, ACTIVO, FECMODIF, USUARIO_ID)
VALUES (CONSTANTE_SEQ.nextval, ''TIMEOUT_BPE'', ''TIMEOUT_BPE'', ''300'', ''1'', ''1'', ''1'', sysdate, ''1'')';
exception when dup_val_on_index then null;
end;
/
declare
dup_val_on_index exception;
pragma exception_init (dup_val_on_index , -00001);
begin
execute immediate 'INSERT INTO CONSTANTE (CONSTANTE_ID, NOMBCONSTANTE, DESCCONSTANTE, VALORCONSTANTE, INDTIPOCONSTANTE, INDMANTENIMIENTOUSUARIO, ACTIVO, FECMODIF, USUARIO_ID)
VALUES (CONSTANTE_SEQ.nextval, ''TRATAR_STATUS_539'', ''TRATAR_STATUS_539'', ''false'', ''1'', ''1'', ''1'', sysdate, ''1'')';
exception when dup_val_on_index then null;
end;

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE BPE ADD (CHBPE_ORIGINAL VARCHAR2(44 BYTE))';
exception when column_exists then null;
end;