git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@70923 d1611594-4594-4d17-8e1d-87c2c4800839
master
leonardo 2017-07-03 17:02:26 +00:00
parent 8fe5b2d5ab
commit 0245307b29
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD (USUARIOBLOQUEADO_ID NUMBER(7) DEFAULT -1) ';
exception when object_exists then null;
end;

View File

@ -0,0 +1,7 @@
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'INSERT INTO USUARIO (USUARIO_ID, NOMBUSUARIO, CVEUSUARIO, activo) VALUES (-1, ''TODOS'', ''TODOS'', 1)';
exception when object_exists then null;
end;