0013746: Menu Dispositivo Venda Embarcada

fixes bug#13746
dev:Leo
qua:Jose

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@91880 d1611594-4594-4d17-8e1d-87c2c4800839
master
fabricio.oliveira 2019-04-12 14:09:23 +00:00
parent 0a408dea78
commit f2ae3db658
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,16 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE BOLETO ADD IMEI_DISPOSITIVO_EMBARCADA VARCHAR(20)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CAJA ADD IMEI_DISPOSITIVO_EMBARCADA VARCHAR(20)';
exception when column_exists then null;
end;

View File

@ -0,0 +1,11 @@
DO $$
BEGIN
ALTER TABLE CAJA ADD IMEI_DISPOSITIVO_EMBARCADA VARCHAR(20);
END
$$;
DO $$
BEGIN
ALTER TABLE BOLETO ADD IMEI_DISPOSITIVO_EMBARCADA VARCHAR(20);
END
$$;