Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 14EBB475938 for ; Mon, 6 May 2002 06:46:22 -0400 (EDT) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by postgresql.org (Postfix) with ESMTP id EBD72475909 for ; Mon, 6 May 2002 06:46:20 -0400 (EDT) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id g46Ak8J12619 for ; Mon, 6 May 2002 12:46:08 +0200 Received: from dell-01.mm.eutelsat.org (IDENT:root@dell-01.mm.eutelsat.org [194.214.173.17]) by nts-03.mm.eutelsat.org (8.9.3/8.8.7) with ESMTP id LAA15868 for ; Mon, 6 May 2002 11:40:10 +0200 Received: from GMENDOLA2 (gmendola2.mm.eutelsat.org [194.214.173.26]) by dell-01.mm.eutelsat.org (8.11.2/8.8.7) with SMTP id g46Ak8L01155 for ; Mon, 6 May 2002 12:46:08 +0200 Message-ID: <002901c1f4eb$40cbe240$d5a9fea9@GMENDOLA2> From: "Gaetano Mendola" To: Subject: SERIAL Field Date: Mon, 6 May 2002 12:46:18 +0200 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200205/26 X-Sequence-Number: 4201 Hi all, having a table with a serial field what is the corrected method to retrieve the value after an insert ? Ciao Gaetano -- #exclude #include printf("\t\t\b\b\b\b\b\b");. printf("\t\t\b\b\b\b\b\b");