bug#206
dev:lucas qua: scripts Ebus git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@105020 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
22ab9dc16c
commit
396cbba0ed
|
@ -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;
|
Loading…
Reference in New Issue