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 2C86352A1E for ; Wed, 20 Jul 2005 15:11:43 -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 32384-05 for ; Wed, 20 Jul 2005 18:11:40 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id 87FD852A2D for ; Wed, 20 Jul 2005 15:11:39 -0300 (ADT) Received: from jedi.behrens.de (p5085A866.dip0.t-ipconnect.de [80.133.168.102]) by Mail2.KONTENT.De (Postfix) with ESMTP id 6C9FF388035 for ; Wed, 20 Jul 2005 20:11:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by jedi.behrens.de (Postfix) with ESMTP id 993391AD8F for ; Wed, 20 Jul 2005 20:11:34 +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 20002-01 for ; Wed, 20 Jul 2005 20:11:34 +0200 (CEST) Received: from anakin (anakin.behrens.de [192.168.150.240]) by jedi.behrens.de (Postfix) with ESMTP id 714ED1A282 for ; Wed, 20 Jul 2005 20:11:34 +0200 (CEST) From: lothar.behrens@lollisoft.de To: pgsql-odbc@postgresql.org Date: Wed, 20 Jul 2005 20:11:34 +0200 MIME-Version: 1.0 Subject: Re: Best way of retrieving tablename from a query ? Message-ID: <42DEAFF6.14760.63D877@localhost> In-reply-to: <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=AWL, FORGED_RCVD_HELO, NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200507/90 X-Sequence-Number: 5556 Hi, now I have found the function for this requirement. SQLColAttribute with SQL_DESC_BASE_TABLE_NAME as the third parameter gives me what I need. Lothar -- Lothar Behrens | Rapid Prototyping ... Rosmarinstr 3 | 40235 D=FCsseldorf | www.lollisoft.de