bug#23090
dev: Celio qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@109487 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
075ccb89ad
commit
9541dacf0b
|
@ -22,35 +22,55 @@ begin
|
||||||
exception when column_exists then null;
|
exception when column_exists then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
column_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (column_exists , -01430);
|
except_00957 exception;
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (CELL_PHONE_NUMBER NULL)';
|
pragma exception_init (object_exists , -01430);
|
||||||
exception when column_exists then null;
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (CELL_PHONE_NUMBER NULL)';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
column_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (column_exists , -01430);
|
except_00957 exception;
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (NSU NULL)';
|
pragma exception_init (object_exists , -01430);
|
||||||
exception when column_exists then null;
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (NSU NULL)';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
column_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (column_exists , -01430);
|
except_00957 exception;
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (AUTHORIZATION_CODE NULL)';
|
pragma exception_init (object_exists , -01430);
|
||||||
exception when column_exists then null;
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (AUTHORIZATION_CODE NULL)';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
column_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (column_exists , -01430);
|
except_00957 exception;
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (FACE_AMOUNT NULL)';
|
pragma exception_init (object_exists , -01430);
|
||||||
exception when column_exists then null;
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (FACE_AMOUNT NULL)';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
|
@ -22,35 +22,55 @@ begin
|
||||||
exception when column_exists then null;
|
exception when column_exists then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
column_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (column_exists , -01430);
|
except_00957 exception;
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (CELL_PHONE_NUMBER NULL)';
|
pragma exception_init (object_exists , -01430);
|
||||||
exception when column_exists then null;
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (CELL_PHONE_NUMBER NULL)';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
column_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (column_exists , -01430);
|
except_00957 exception;
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (NSU NULL)';
|
pragma exception_init (object_exists , -01430);
|
||||||
exception when column_exists then null;
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (NSU NULL)';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
column_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (column_exists , -01430);
|
except_00957 exception;
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (AUTHORIZATION_CODE NULL)';
|
pragma exception_init (object_exists , -01430);
|
||||||
exception when column_exists then null;
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (AUTHORIZATION_CODE NULL)';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
column_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (column_exists , -01430);
|
except_00957 exception;
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (FACE_AMOUNT NULL)';
|
pragma exception_init (object_exists , -01430);
|
||||||
exception when column_exists then null;
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (FACE_AMOUNT NULL)';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
|
@ -0,0 +1,17 @@
|
||||||
|
declare
|
||||||
|
dup_val_on_index exception;
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
begin
|
||||||
|
execute immediate 'Insert into TIPO_EVENTO_EXTRA (TIPOEVENTOEXTRA_ID,INDTIPO,IMPMAX,INDVALIDACORTE,INDVALIDADOCUMENTO,INDCONTRAPARTIDA,INDBOLETO,INDORDENSERVICIO,PORCIVA,FORMAPAGO_ID,USUARIO_ID,FECMODIF,ACTIVO,PARAMARTICULO2_ID,INDTIPO2,FORMAPAGO2_ID,INDOPERACION,DESCTIPOEVENTO,PROVEEDOR,IMPFISCALNUMOPERACAO,NATUREZA,CONTACONTABIL,INDCONFERENCIAFISICACOMISSAO,INDVALIDAESTOQUE,CVETIPOEVENTO,CVESISTEMA,INTEGRADOTOTVS,ERRO)
|
||||||
|
values (99996,''1'',99999.99,null,''0'',null,''0'',null,''0'',null,''1'',sysdate,''1'',null,null,null,''1'',''RECARGA PIN'',null,null,null,null,null,null,''RECARGA_PIN'',''RECARGA_PIN'',null,null)';
|
||||||
|
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 TIPO_EVENTO_EXTRA (TIPOEVENTOEXTRA_ID,INDTIPO,IMPMAX,INDVALIDACORTE,INDVALIDADOCUMENTO,INDCONTRAPARTIDA,INDBOLETO,INDORDENSERVICIO,PORCIVA,FORMAPAGO_ID,USUARIO_ID,FECMODIF,ACTIVO,PARAMARTICULO2_ID,INDTIPO2,FORMAPAGO2_ID,INDOPERACION,DESCTIPOEVENTO,PROVEEDOR,IMPFISCALNUMOPERACAO,NATUREZA,CONTACONTABIL,INDCONFERENCIAFISICACOMISSAO,INDVALIDAESTOQUE,CVETIPOEVENTO,CVESISTEMA,INTEGRADOTOTVS,ERRO)
|
||||||
|
values (99995,''1'',99999.99,null,''0'',null,''0'',null,''0'',null,''1'',sysdate,''1'',null,null,null,''1'',''RECARGA TV'',null,null,null,null,null,null,''RECARGA_TV'',''RECARGA_TV'',null,null)';
|
||||||
|
exception when dup_val_on_index then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue