Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Rolling back sequences?

Re: Rolling back sequences?

From: sim <jmenker_at_muenster.de>
Date: 4 Apr 2006 02:57:14 -0700
Message-ID: <1144144634.937321.211710@e56g2000cwe.googlegroups.com>


It's possible to roll back a sequence. All you have to do is to set the increment by value to -1 and call the sequence as often as you need it. You can of course also set incerement by to exactly the value you need to be subtracted from the actual value of nextval and call the sequence only once. Don't forget to set increment by to its default value 1 again!

Regards,

Jörg Received on Tue Apr 04 2006 - 04:57:14 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US