AdmMono/src/db/migration/V20180117_1130__mantis10487...

13 lines
315 B
SQL

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;