fixes bug#0011602

dev: lucas
qua: renato

Para que o Arquivo Layout Internacional apareça é necessário ativar a propriedade permiteLayoutInternacional=1.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@84229 d1611594-4594-4d17-8e1d-87c2c4800839
master
emerson 2018-08-14 18:21:52 +00:00
parent 4656ff5cdb
commit d33cea07dd
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE ESTACION_IMPRESORA DROP COLUMN INDARCHIVOLAYOUTINTERNACIONAL';
execute immediate 'ALTER TABLE ESTACION_IMPRESORA ADD NOMBARCHIVOLAYOUTINTERNACIONAL VARCHAR2(60)';
exception when column_exists then null;
end;

View File

@ -0,0 +1,8 @@
DO $$
BEGIN
ALTER TABLE ESTACION_IMPRESORA DROP COLUMN INDARCHIVOLAYOUTINTERNACIONAL;
ALTER TABLE ESTACION_IMPRESORA ADD NOMBARCHIVOLAYOUTINTERNACIONAL VARCHAR(60);
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$;