dev:lucas

qua: scripts Ebus

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@105020 d1611594-4594-4d17-8e1d-87c2c4800839
master
lucas.taia 2021-01-14 16:41:56 +00:00
parent 22ab9dc16c
commit 396cbba0ed
1 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,59 @@
declare
object_exists exception;
except_00957 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
begin
execute immediate 'ALTER TABLE GP_PRICING_ASIENTO ADD (VALORADICIONALPRICING NUMBER(5,2) )';
exception
when object_exists then null;
when except_00957 then null;
end;
/
declare
object_exists exception;
except_00957 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
begin
execute immediate 'ALTER TABLE GP_PRICING ADD (HORAANTECIPA DATE )';
exception
when object_exists then null;
when except_00957 then null;
end;
/
declare
object_exists exception;
except_00957 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
begin
execute immediate 'ALTER TABLE GP_PRICING ADD (VALORADICIONALPRICING NUMBER(5,2) )';
exception
when object_exists then null;
when except_00957 then null;
end;
/
declare
object_exists exception;
except_00957 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
begin
execute immediate 'ALTER TABLE GP_PRICING ADD (PORCADICIONALPRICING NUMBER(5,2) )';
exception
when object_exists then null;
when except_00957 then null;
end;
/
declare
object_exists exception;
except_00957 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
begin
execute immediate 'ALTER TABLE GP_PRICING ADD (REDONDEO NUMBER(1) )';
exception
when object_exists then null;
when except_00957 then null;
end;