alexandre.lima 2017-07-17 12:25:02 +00:00
parent 422bc1df4d
commit 07fd4a93dc
1 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,20 @@
ALTER TABLE SEGURO_KM ADD TIPO_SEGURO varchar2(10);
ALTER TABLE TARIFA ADD IMPORTETPP number(7,2);
ALTER TABLE TARIFA_OFICIAL ADD IMPORTETPP number(7,2);
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE SEGURO_KM ADD TIPO_SEGURO varchar2(10);';
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE TARIFA ADD IMPORTETPP number(7,2);';
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE TARIFA_OFICIAL ADD IMPORTETPP number(7,2);';
end;