Criar novas contas no MD (issue 10487)

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@78106 d1611594-4594-4d17-8e1d-87c2c4800839
master
alberto 2018-01-17 17:02:51 +00:00
parent 6b2077a692
commit d8df7e2d61
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
declare
object_exists exception;
pragma exception_init (object_exists , -00955);
begin
execute immediate
'DROP SEQUENCE MDCONTA_SEQ';
execute immediate
'CREATE SEQUENCE MDCONTA_SEQ INCREMENT BY 1 START WITH 1000 NOCACHE ORDER NOCYCLE';
exception when object_exists then null;
end;