0011158: ESPEC 7 364 - Alterar cadastro de Ponto de Venda

fixes bug#11158
dev:Emerson
qua:Renato

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@85204 d1611594-4594-4d17-8e1d-87c2c4800839
master
fabricio.oliveira 2018-09-10 21:08:31 +00:00
parent 5d94d296c3
commit 91cf8a808f
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD EMPRESA_ID NUMBER(7) DEFAULT -1 ';
exception when object_exists then null;
end;