Correção script

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69266 d1611594-4594-4d17-8e1d-87c2c4800839
master
alberto 2017-05-24 18:08:53 +00:00
parent cae034c3c6
commit 073a15ac17
2 changed files with 16 additions and 13 deletions

View File

@ -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;

View File

@ -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;