Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 66CC7476580 for ; Wed, 4 Dec 2002 08:52:07 -0500 (EST) Received: from localdomain (m1.xenion.de [62.8.212.158]) by postgresql.org (Postfix) with ESMTP id B012B476347 for ; Wed, 4 Dec 2002 08:46:42 -0500 (EST) Received: from usco.de [195.206.128.88] by localdomain with Novonyx SMTP Server $Revision: 2.75.1.9 $; Wed, 04 Dec 2002 14:47:52 +0100 (ECTD) Message-ID: <3DEE077F.8F083C9E@usco.de> Date: Wed, 04 Dec 2002 14:47:43 +0100 From: Egon Reetz X-Mailer: Mozilla 4.8 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: raja kumar thatte , pgsql-admin@postgresql.org Subject: Re: how to alter sequence. References: <20021204122900.96540.qmail@web20608.mail.yahoo.com> <3DEE054A.A157C1B6@usco.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/31 X-Sequence-Number: 6526 I meant start value (inst. min.). Egon Reetz wrote: > Drop the sequence and recreate with a min. value greater your last value and > the new max. value. > > Egon > > raja kumar thatte wrote: > > > Hai friends, > > I have a sequence called raj_seq with max value 3000. > > I have a table, with one field haveing > > nextvalu('raj_seq') as default value.; > > now i wanted to increase the max value of the raj_seq > > to 9999999. > > How to do this change? > > If i drop and recreate the raj_seq, then i have to > > recreate the table and all triggers working on that > > table.But it is not an acceptable solution. > > So with out droping raj_seq , how do I solve this > > problem. > > Thanks in advance. > > have a nice time. > > raja > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > http://mailplus.yahoo.com > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 6: Have you searched our list archives? > > > > http://archives.postgresql.org > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html