UPDATE PARA 0 OS ANTIGOS BUG#9287

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@72116 d1611594-4594-4d17-8e1d-87c2c4800839
master
gleimar 2017-08-01 14:27:23 +00:00
parent e4f2c2487a
commit f350b88f42
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'UPDATE FISCAL_IMPRESSORA SET INDBLOQUEAECF = 0 WHERE INDBLOQUEAECF IS NULL';
execute immediate 'ALTER TABLE FISCAL_IMPRESSORA MODIFY (INDBLOQUEAECF DEFAULT 0 NOT NULL)';
exception when object_exists then null;
end;