0020523: Aguia Branca - GLPI 29148 - [PROJETO] - ESPEC DE REGISTRO NO CAIXA DA SOLICITAÇÃO DE CANCELAMENTO - DUVIDA
bug#20523 dev:wilian qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@103639 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2753fda468
commit
b9c8a1dae6
|
@ -0,0 +1,15 @@
|
|||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE FORMA_PAGO ADD TIPOEVENTOEXTRA_ID NUMBER(7,0)';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'UPDATE CONSTANTE SET ACTIVO = 0 WHERE NOMBCONSTANTE LIKE ''TEE_ESTORNO_ELETRONICO_CARTAO''';
|
||||
exception when column_exists then null;
|
||||
end;
|
|
@ -0,0 +1,13 @@
|
|||
DO $$
|
||||
BEGIN
|
||||
ALTER TABLE FORMA_PAGO ADD TIPOEVENTOEXTRA_ID NUMBER(7,0);
|
||||
EXCEPTION WHEN duplicate_column THEN NULL;
|
||||
END
|
||||
$$;
|
||||
/
|
||||
DO $$
|
||||
BEGIN
|
||||
UPDATE CONSTANTE SET ACTIVO = 0 WHERE NOMBCONSTANTE LIKE 'TEE_ESTORNO_ELETRONICO_CARTAO';
|
||||
EXCEPTION WHEN duplicate_column THEN NULL;
|
||||
END
|
||||
$$;
|
Loading…
Reference in New Issue