fixes bug#9803
fixes bug#9100 Commit de código... (Ainda em desenvolvimento... ) git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@76190 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
3ad5f961fa
commit
2de9f87f31
|
@ -0,0 +1,24 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE FECHAMENTO_PARAMGERAL ADD (COUNT_REMESSA NUMBER(15), COD_EMP_BANCO NUMBER(20))';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE FECHAMENTO_BOLETO ADD (REMESSA_ID NUMBER(20))';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
begin
|
||||||
|
execute immediate 'INSERT INTO FUNCION_SISTEMA (FUNCIONSISTEMA_ID, SISTEMA_ID, NOMBFUNCION, DESCRUTA, ACTIVO, FECMODIF, USUARIO_ID) VALUES (FUNCION_SISTEMA_SEQ.NEXTVAL, 1, ''ADM > RELATORIOS >> RELATORIO DE ARQUIVO REMESSA CNAB'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOREMESSACNAB'', 1 , sysdate, 1 )';
|
||||||
|
exception when dup_val_on_index then null;
|
||||||
|
end;
|
||||||
|
/
|
Loading…
Reference in New Issue