lucas.taia 2017-07-26 22:24:05 +00:00
parent 35c631aa90
commit 1e19e662ae
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE FISCAL_IMPRESSORA ADD (INDVALIDAESTADO NUMBER(1) DEFAULT 0 NOT NULL)';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE FISCAL_IMPRESSORA MODIFY (INDBLOQUEAECF DEFAULT 0 NOT NULL)';
exception when object_exists then null;
end;