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-87c2c4800839master
parent
4656ff5cdb
commit
d33cea07dd
|
@ -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;
|
|
@ -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
|
||||||
|
$$;
|
Loading…
Reference in New Issue