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 76F79536FB for ; Fri, 29 Apr 2005 07:50: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 72638-02 for ; Fri, 29 Apr 2005 10:50:24 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id AC81B52AA7 for ; Fri, 29 Apr 2005 07:50:23 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 2EB1C40DCAE; Fri, 29 Apr 2005 11:50:18 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 5453115EF8; Fri, 29 Apr 2005 11:49:27 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00727-05; Fri, 29 Apr 2005 11:49:27 +0100 (BST) Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id F29F215EDE; Fri, 29 Apr 2005 11:49:26 +0100 (BST) Message-ID: <42721147.5060001@archonet.com> Date: Fri, 29 Apr 2005 11:49:43 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pk2@o2.pl Cc: pgsql-odbc@postgresql.org Subject: Re: PostgreSQL - linked with MSSQL References: <1114734737.4803.15.camel@localhost.localdomain> <20050429014745.GC2115@localhost> <20050429102459.4922B16C00D@rekin13.go2.pl> In-Reply-To: <20050429102459.4922B16C00D@rekin13.go2.pl> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.054 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/129 X-Sequence-Number: 5288 pk2@o2.pl wrote: > Generally I would like to have the same possibility to make an: > INSERT INTO [Postgres_server].mydatabase.user.mytable > (id, data1, data2, data3) > SELECT > id, data1, data2, data3 > FROM [remote_mssql].remotedatabase.dbo.table2 The quick solution (and the one I always use) is to setup ODBC for postgresql, then create an MS-Access database that links to both. Add a bunch of queries/vba and you're done. -- Richard Huxton Archonet Ltd