X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4D55052914 for ; Wed, 20 Jul 2005 13:54:27 -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 16975-04 for ; Wed, 20 Jul 2005 16:54:15 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id F33B552808 for ; Wed, 20 Jul 2005 13:54:13 -0300 (ADT) Received: from jedi.behrens.de (p5085A866.dip0.t-ipconnect.de [80.133.168.102]) by Mail2.KONTENT.De (Postfix) with ESMTP id 672363880BE for ; Wed, 20 Jul 2005 18:54:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by jedi.behrens.de (Postfix) with ESMTP id 9C6241B0FD for ; Wed, 20 Jul 2005 18:54:11 +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 19551-06 for ; Wed, 20 Jul 2005 18:54:11 +0200 (CEST) Received: from anakin (anakin.behrens.de [192.168.150.240]) by jedi.behrens.de (Postfix) with ESMTP id 74DFD1AD72 for ; Wed, 20 Jul 2005 18:54:11 +0200 (CEST) From: lothar.behrens@lollisoft.de To: pgsql-odbc@postgresql.org Date: Wed, 20 Jul 2005 18:54:11 +0200 MIME-Version: 1.0 Subject: Best way of retrieving tablename from a query ? Message-ID: <42DE9DD3.20754.1D00D1@localhost> X-mailer: Pegasus Mail for Windows (4.21c, DE v4.21c R1a) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.228 tagged_above=0 required=5 tests=FORGED_RCVD_HELO, NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200507/89 X-Sequence-Number: 5555 Hi, my last question seems to be overseen. Isn't there a good way to get the table name from a given SQL query without inspecting the query it self ? My last try to use SQLColumns was partially usable. It returned a table name, but it does not stay in relation to my query. Thanks Lothar -- Lothar Behrens | Rapid Prototyping ... Rosmarinstr 3 | 40235 D=FCsseldorf | www.lollisoft.de