git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@74690 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdevir 2017-10-10 22:12:36 +00:00
parent 871bf8801b
commit a91c25423a
1 changed files with 177 additions and 0 deletions

View File

@ -0,0 +1,177 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE PARADA ADD (INTEGRADOTOTVS 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 TIPO_PARADA ADD (INTEGRADOTOTVS 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 ORGAO_CONCEDENTE ADD (INTEGRADOTOTVS 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 VIA ADD (INTEGRADOTOTVS 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 CLASE_SERVICIO ADD (INTEGRADOTOTVS 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 RUTA ADD (INTEGRADOTOTVS 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 PUNTO_VENTA ADD (INTEGRADOTOTVS 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 TARIFA ADD (INTEGRADOTOTVS NUMBER(1,0))';
exception when column_exists then null;
end;
--USUARIO
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE USUARIO ADD (INTEGRADOTOTVS 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 ESQUEMA_CORRIDA ADD (INTEGRADOTOTVS 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 CORRIDA ADD (INTEGRADOTOTVS NUMBER(1,0) )';
exception when column_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01451);
begin
execute immediate 'ALTER TABLE PARADA MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01451);
begin
execute immediate 'ALTER TABLE TIPO_PARADA MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01451);
begin
execute immediate 'ALTER TABLE ORGAO_CONCEDENTE MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists, -01451);
begin
execute immediate 'ALTER TABLE VIA MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists, -01451);
begin
execute immediate 'ALTER TABLE CLASE_SERVICIO MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01451);
begin
execute immediate 'ALTER TABLE RUTA MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01451);
begin
execute immediate 'ALTER TABLE PUNTO_VENTA MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01451);
begin
execute immediate 'ALTER TABLE TARIFA MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01451);
begin
execute immediate 'ALTER TABLE USUARIO MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01451);
begin
execute immediate 'ALTER TABLE ESQUEMA_CORRIDA MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01451);
begin
execute immediate 'ALTER TABLE CORRIDA MODIFY (INTEGRADOTOTVS NULL)';
exception when object_exists then null;
end;