bug#10563

dev:veloso
qua:wallysson

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@80409 d1611594-4594-4d17-8e1d-87c2c4800839
master
frederico 2018-03-29 18:25:00 +00:00
parent a110280b70
commit 6157de58aa
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
declare
begin
execute immediate 'INSERT INTO FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID)
values (FUNCION_SISTEMA_SEQ.NEXTVAL,''1'',''ADM > ESQUEMA OPERACIONAL >> GERACAO ARQUIVO EMTU'',
''COM.RJCONSULTORES.ADMINISTRACION.GUI.ESQUEMAOPERACIONAL.MENU.GERACAOARQUIVOEMTU'',
''1'',to_date(''15/04/16'',''DD/MM/RR''),''1'')';
exception when others then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE EMPRESA ADD CODIGO_EMTU NUMBER(5,0)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE EMPRESA ADD CODIGO_EMTU NUMBER(5,0)';
exception when column_exists then null;
end;