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-87c2c4800839master
parent
6b2077a692
commit
d8df7e2d61
|
@ -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;
|
Loading…
Reference in New Issue