BPe
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@78874 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
bea5fbbe31
commit
8c0c488ea1
|
@ -0,0 +1,6 @@
|
||||||
|
declare
|
||||||
|
begin
|
||||||
|
execute immediate 'Insert into MOTIVO_CANCELACION (MOTIVOCANCELACION_ID,DESCMOTIVO,TIPOMOTIVO,ACTIVO,FECMODIF,USUARIO_ID,CVESISTEMA)
|
||||||
|
values (MOTIVO_CANCELACION_SEQ.nextval,''CANCELAMENTO BPE'',''B'',1,sysdate,1,''CANCELAMENTO_BPE'')';
|
||||||
|
exception when others then null;
|
||||||
|
end;
|
|
@ -0,0 +1,16 @@
|
||||||
|
declare
|
||||||
|
dup_val_on_index exception;
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
begin
|
||||||
|
execute immediate 'Insert into CONSTANTE (CONSTANTE_ID,NOMBCONSTANTE,DESCCONSTANTE,INDTIPOCONSTANTE,VALORCONSTANTE,INDMANTENIMIENTOUSUARIO,ACTIVO,FECMODIF,USUARIO_ID) values (CONSTANTE_SEQ.NEXTVAL,''BPE_VERSAO'',''VERSAO XML BPE'',''1'',''1.00'',''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,INDTIPOCONSTANTE,VALORCONSTANTE,INDMANTENIMIENTOUSUARIO,ACTIVO,FECMODIF,USUARIO_ID) values (CONSTANTE_SEQ.NEXTVAL,''BPE_AMBIENTE'',''AMBIENTE DO BPE'',''1'',''2'',''1'',''1'',sysdate,''1'')';
|
||||||
|
exception when dup_val_on_index then null;
|
||||||
|
end;
|
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE EMPRESA_IMPOSTO ADD (INDREDBASEICMSBPE NUMBER(1))';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE BPE ADD ("TPINTEGRA" VARCHAR2(1))';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue