Received: from mail.camgsm.com.kh (mailmx.camgsm.com.kh [203.144.65.11]) by postgresql.org (Postfix) with ESMTP id 47DDF475B5C for ; Mon, 25 Feb 2002 19:52:28 -0500 (EST) Received: from idlonh ([23.0.160.5]) by mail.camgsm.com.kh (8.12.2/8.12.2) with SMTP id g1Q0cESW000359; Tue, 26 Feb 2002 07:38:15 +0700 Message-ID: <000f01c1be5f$467be5e0$05a00017@idlonh> From: "Lonh SENG" To: "Marc" , References: <3C777F09.854C8FD4@nospan_hotmail.com> Subject: Re: Reset sequence number Date: Tue, 26 Feb 2002 07:48:13 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200202/345 X-Sequence-Number: 3498 I use truncate table $table_name. This will delete all data from that table and reset the sequense number. ----- Original Message ----- From: "Marc" To: Sent: Saturday, February 23, 2002 6:37 PM Subject: [ADMIN] Reset sequence number > Hello, > > How can I reset a sequence number back to 0 ? > > Regards > > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) >