Exportação Fiscal : ECF e RMD (issue 8120)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@64259 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
d9a91ac91b
commit
e654abe71e
|
@ -1,4 +1,7 @@
|
|||
ALTER TABLE FISCAL_IMPRESSORA ADD (NUMEROIDENTIFICACAO NUMBER(3));
|
||||
ALTER TABLE EMPRESA_IMPOSTO ADD (CODESTABELECIMENTO NUMBER(4));
|
||||
ALTER TABLE EMPRESA_IMPOSTO ADD (TRIBUTACAOIMPORTACAO NUMBER(5,2));
|
||||
ALTER TABLE ESTADO ADD (CODESTABELECIMENTO NUMBER(4));
|
||||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE FISCAL_IMPRESSORA ADD (NUMEROIDENTIFICACAO NUMBER(3))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE EMPRESA_IMPOSTO ADD (CODESTABELECIMENTO NUMBER(4))';
|
||||
exception when column_exists then null;
|
||||
end;
|
|
@ -0,0 +1,7 @@
|
|||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE EMPRESA_IMPOSTO ADD (TRIBUTACAOIMPORTACAO NUMBER(5,2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
|
@ -0,0 +1,7 @@
|
|||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE ESTADO ADD (CODESTABELECIMENTO NUMBER(4))';
|
||||
exception when column_exists then null;
|
||||
end;
|
Loading…
Reference in New Issue