fixes bug#11304
dev:lucas qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@82503 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
1f602e3eb3
commit
a7202e214a
|
@ -1,28 +1,28 @@
|
||||||
declare
|
declare
|
||||||
table_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (table_exists , -00955);
|
pragma exception_init (object_exists , -00955);
|
||||||
begin
|
begin
|
||||||
execute immediate
|
execute immediate
|
||||||
'CREATE UNIQUE INDEX PK__BPE__BPE_ID ON BPE ("BPE_ID")';
|
'CREATE UNIQUE INDEX PK__BPE__BPE_ID ON BPE ("BPE_ID")';
|
||||||
exception when table_exists then null;
|
exception when object_exists then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
table_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (table_exists , -00955);
|
pragma exception_init (object_exists , -00955);
|
||||||
begin
|
begin
|
||||||
execute immediate
|
execute immediate
|
||||||
'CREATE INDEX IDX__BPE_BOLETO ON BPE ("BOLETO_ID")';
|
'CREATE INDEX IDX__BPE_BOLETO ON BPE ("BOLETO_ID")';
|
||||||
exception when table_exists then null;
|
exception when object_exists then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
table_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (table_exists , -00955);
|
pragma exception_init (object_exists , -00955);
|
||||||
begin
|
begin
|
||||||
execute immediate
|
execute immediate
|
||||||
'CREATE INDEX IDX__BPE_BPESUBSTITUICAO ON BPE ("BPESUBSTITUICAO_ID")';
|
'CREATE INDEX IDX__BPE_BPESUBSTITUICAO ON BPE ("BPESUBSTITUICAO_ID")';
|
||||||
exception when table_exists then null;
|
exception when object_exists then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
|
|
Loading…
Reference in New Issue