bug#15999
qua:Wallysson dev:Thiago git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@98417 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
7d366eb08c
commit
1ed8fa99c7
|
@ -0,0 +1,33 @@
|
|||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -01430 );
|
||||
begin
|
||||
execute immediate 'ALTER TABLE BOLETO ADD PAIS_RESIDENCIA VARCHAR2(20)';
|
||||
exception when object_exists then null;
|
||||
end;
|
||||
|
||||
/
|
||||
|
||||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -01430 );
|
||||
begin
|
||||
execute immediate 'ALTER TABLE CAJA ADD PAIS_RESIDENCIA VARCHAR2(20)';
|
||||
exception when object_exists then null;
|
||||
end;
|
||||
|
||||
/
|
||||
|
||||
declare
|
||||
dup_val_on_index exception;
|
||||
pragma exception_init (dup_val_on_index , -00001);
|
||||
begin
|
||||
execute immediate 'INSERT INTO tipo_identificacion VALUES (26, ''DNI'', 1, CURRENT_DATE, 1)';
|
||||
exception when dup_val_on_index then null;
|
||||
end;
|
||||
|
||||
/
|
||||
|
||||
INSERT INTO TIPO_OCUPACION (TIPOOCUPACION_ID, DESCTIPO, ACTIVO, USUARIO_ID, FECMODIF) VALUES (TIPO_OCUPACION_SEQ.nextval, 'PROFISSIONAL', '1', '1', CURRENT_DATE);
|
||||
|
||||
|
Loading…
Reference in New Issue