Correção da tabela Fiscal_Envio_Fisco
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@65736 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0126be4f54
commit
217b882179
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -02260);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE FISCAL_ENVIO_FISCO ADD CONSTRAINT FISCAL_ENVIO_FISCO_PK PRIMARY KEY (FISCALENVIOFISCO_ID) ENABLE';
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -01408);
|
||||||
|
begin
|
||||||
|
execute immediate 'CREATE INDEX IDX_FISCAL_FISCO ON FISCAL_ENVIO_FISCO (NUMSERIE20, DATAMOV) COMPRESS';
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue