Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C509F475C5F for ; Wed, 4 Dec 2002 07:28:57 -0500 (EST) Received: from web20608.mail.yahoo.com (web20608.mail.yahoo.com [216.136.226.166]) by postgresql.org (Postfix) with SMTP id 24300475AFF for ; Wed, 4 Dec 2002 07:28:57 -0500 (EST) Message-ID: <20021204122900.96540.qmail@web20608.mail.yahoo.com> Received: from [219.65.129.10] by web20608.mail.yahoo.com via HTTP; Wed, 04 Dec 2002 04:29:00 PST Date: Wed, 4 Dec 2002 04:29:00 -0800 (PST) From: raja kumar thatte Subject: how to alter sequence. To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/26 X-Sequence-Number: 6521 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