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 -> Re: Reset a Sequence

Re: Reset a Sequence

From: Ian Ledzion <ian.ledzion_at_lgxbow.com>
Date: Mon, 3 Sep 2001 15:28:38 +0200
Message-ID: <9n00g1$kvp$1@rex.ip-plus.net>


I posted a solution to this on the 26th of March, you'll find it on Google

"Roman Sochan" <rsochan_at_removeme.ix.netcom.com> wrote in message news:9mm156$8u4$1_at_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 Mon Sep 03 2001 - 08:28:38 CDT

Original text of this message

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