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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Reset sequence at midnight

Re: Reset sequence at midnight

From: Mladen Gogala <mladen_at_wangtrading.com>
Date: Wed, 14 Jan 2004 10:09:25 -0800
Message-ID: <F001.005DCC66.20040114100925@fatcity.com>


To use program which will supply numbers, possibly as an external routine, and not use an oracle sequence as it wasn't designed for that purpose. On 01/14/2004 12:04:26 PM, Oracle wrote:
> Hi,
>
> I have a sequence which i want to reset to 0 at midnight everyday.
>
> What is the best way to do this?
>
> Db version - 9.2.0.1.0
> Thanks
>
> Imran
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Oracle
> INET: Oracle_list_at_hotmail.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

--
Mladen Gogala
Oracle DBA
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: mladen_at_wangtrading.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jan 14 2004 - 12:09:25 CST

Original text of this message

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