Correção script
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69266 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
cae034c3c6
commit
073a15ac17
|
@ -1,13 +0,0 @@
|
||||||
declare
|
|
||||||
object_exists exception;
|
|
||||||
pragma exception_init (object_exists , -00955);
|
|
||||||
begin
|
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE PRICING_ESPECIFICO ADD (EXIBEVENDA NUMBER(1,0))';
|
|
||||||
exception when object_exists then null;
|
|
||||||
end
|
|
||||||
begin
|
|
||||||
execute immediate 'ALTER TABLE PRICING ADD (EXIBEVENDA NUMBER(1,0))';
|
|
||||||
exception when object_exists then null;
|
|
||||||
end
|
|
||||||
end;
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -00955);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE PRICING_ESPECIFICO ADD (EXIBEVENDA NUMBER(1,0))';
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -00955);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE PRICING ADD (EXIBEVENDA NUMBER(1,0))';
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue