Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A8659475AEC for ; Wed, 4 Dec 2002 07:44:24 -0500 (EST) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by postgresql.org (Postfix) with ESMTP id CF7C1475AE6 for ; Wed, 4 Dec 2002 07:44:22 -0500 (EST) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 968243F52; Wed, 4 Dec 2002 07:44:25 -0500 (EST) From: "Dan Langille" To: raja kumar thatte Date: Wed, 04 Dec 2002 07:44:25 -0500 MIME-Version: 1.0 Subject: Re: how to alter sequence. Cc: pgsql-admin@postgresql.org Message-ID: <3DEDB259.4378.801560@localhost> In-reply-to: <20021204122900.96540.qmail@web20608.mail.yahoo.com> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/27 X-Sequence-Number: 6522 On 4 Dec 2002 at 4:29, 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? http://www.postgresql.org/idocs/index.php?functions-sequence.html Look for setval -- Dan Langille : http://www.langille.org/