fix bug #0009037 - corrigido duplicação de preço na geração do preço do pedagio
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69374 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
c313098a83
commit
76c25c7ff6
|
@ -0,0 +1,69 @@
|
|||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PRECIO_FIXO_PEDAGIO RENAME COLUMN PRECIOFIXO_ID TO PRECIOFIXOPEDAGIO_ID';
|
||||
end ;
|
||||
/
|
||||
|
||||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PRECIO_FIXO_PEDAGIO RENAME COLUMN PRACA_PEDAGIO_ID TO PRACAPEDAGIO_ID';
|
||||
end;
|
||||
/
|
||||
|
||||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PRECIO_FIXO_PEDAGIO RENAME COLUMN ORGAO_CONCEDENTE_ID TO ORGAOCONCEDENTE_ID';
|
||||
end ;
|
||||
/
|
||||
|
||||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PRECIO_FIXO_PEDAGIO RENAME COLUMN CLASSE_SERVICO_ID TO CLASSESERVICO_ID';
|
||||
end;
|
||||
/
|
||||
|
||||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PRECIO_FIXO_PEDAGIO RENAME COLUMN VALOR_FIXO TO VALORFIXO';
|
||||
end;
|
||||
/
|
||||
|
||||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PRECIO_FIXO_PEDAGIO ADD (ACTIVO NUMBER(1))';
|
||||
end;
|
||||
/
|
||||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PRECIO_FIXO_PEDAGIO ADD (FECMODIF DATE)';
|
||||
end;
|
||||
/
|
||||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PRECIO_FIXO_PEDAGIO ADD (USUARIO_ID NUMBER(7))';
|
||||
end ;
|
||||
/
|
Loading…
Reference in New Issue