fixes bug#0011649
dev: emerson qua: Implementação para garantir a integridade da tabela TARIFA, podendo existir apenas um registro ativo com os seguintes valores: TRAMO_ID, MARCA_ID, CLASESERVICIO_ID, MONEDA_ID, VIGENCIATARIFA_ID, ORGAOCONCEDENTE_ID e RUTA_ID. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@83643 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
37f4407bd2
commit
59d8a05569
|
@ -1,6 +1,6 @@
|
||||||
declare
|
declare
|
||||||
indice_nao_existe exception;
|
indice_nao_existe exception;
|
||||||
pragma exception_init (indece_nao_existe , -01418);
|
pragma exception_init (indice_nao_existe , -01418);
|
||||||
begin
|
begin
|
||||||
execute immediate 'DROP INDEX TARIFA_UNICA';
|
execute immediate 'DROP INDEX TARIFA_UNICA';
|
||||||
exception when indice_nao_existe then null;
|
exception when indice_nao_existe then null;
|
||||||
|
|
Loading…
Reference in New Issue