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

Home -> Community -> Usenet -> c.d.o.server -> Reset a Sequence

Reset a Sequence

From: Roman Sochan <rsochan_at_removeme.ix.netcom.com>
Date: Thu, 30 Aug 2001 11:33:44 -0700
Message-ID: <9mm156$8u4$1@slb0.atl.mindspring.net>


Is there a way to have Oracle automatically reset a sequence on a schedule every morning?

The database in question will use a primary key which includes the sequence and a date:

0001-30AUG2001
0002-30AUG2001
0003-30AUG2001

.
.

the next day:

0001-31AUG2001
0002-31AUG2001 Received on Thu Aug 30 2001 - 13:33:44 CDT

Original text of this message

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