fixes bug#23332

dev:Lucas
qua:Wallysson

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@109004 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2021-10-06 18:50:58 +00:00
parent 9b2aadbcde
commit f07772cfad
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,7 @@
declare
begin
execute immediate 'INSERT INTO CONSTANTE (CONSTANTE_ID, NOMBCONSTANTE, DESCCONSTANTE, VALORCONSTANTE, INDTIPOCONSTANTE, INDMANTENIMIENTOUSUARIO, ACTIVO, FECMODIF, USUARIO_ID)
VALUES (CONSTANTE_SEQ.nextval, ''ORGAO_CONCEDENTE_BPE_AGEPAN_MS'', ''ID DO ORGAO CONCEDENTE BPE AGEPAN - MS'', '''', ''1'', ''1'', ''1'', sysdate, ''1'')';
exception when others then null;
end;
/

View File

@ -0,0 +1,24 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE PARADA_COD_ORGAOCONCEDENTE ADD (ACTIVO NUMBER(1,0))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE PARADA_COD_ORGAOCONCEDENTE ADD (FECMODIF DATE)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE PARADA_COD_ORGAOCONCEDENTE ADD (USUARIO_ID NUMBER(7,0))';
exception when column_exists then null;
end;
/