X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 19474D6E7E for ; Sat, 27 Aug 2005 02:32:22 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32781-04 for ; Sat, 27 Aug 2005 05:32:17 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id 5C8BED6D9D for ; Sat, 27 Aug 2005 02:32:16 -0300 (ADT) Received: from jedi.behrens.de (p50858049.dip0.t-ipconnect.de [80.133.128.73]) by Mail2.KONTENT.De (Postfix) with ESMTP id 3500038800B for ; Sat, 27 Aug 2005 07:32:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by jedi.behrens.de (Postfix) with ESMTP id 78C2F19FB6 for ; Sat, 27 Aug 2005 07:32:14 +0200 (CEST) Received: from jedi.behrens.de ([127.0.0.1]) by localhost (jedi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20141-02 for ; Sat, 27 Aug 2005 07:32:14 +0200 (CEST) Received: from [192.168.150.239] (unknown [192.168.150.239]) by jedi.behrens.de (Postfix) with ESMTP id F109719B73 for ; Sat, 27 Aug 2005 07:32:13 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: quoted-printable Message-Id: Content-Type: text/plain; charset=ISO-8859-1; format=flowed To: From: Lothar Behrens Subject: SQL query with no result set but inserting possible ? Date: Sat, 27 Aug 2005 07:32:13 +0200 X-Mailer: Apple Mail (2.622) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.126 required=5 tests=[AWL=0.076, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/216 X-Sequence-Number: 5855 Hi, I have the circumstance that a SQL query returns no result set, because=20= the table is empty or the where clause reduces the result to nothing. Is it possible to add new data anyhow without creating a insert query=20 with the related columns ? Thanks Lothar -- Lothar Behrens | Rapid Prototyping ... Rosmarinstr 3 |=09 40235 D=FCsseldorf | www.lollisoft.de