Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0P1JRl40698 for ; Thu, 24 Jan 2002 20:19:27 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.2) with HTTP id 675495; Thu, 24 Jan 2002 17:19:28 -0800 From: "Josh Berkus" Subject: Re: linking from SQL Server To: Oleg Lebedev , Postgres SQL Mailing List X-Mailer: CommuniGate Pro Web Mailer v.3.5.2 Date: Thu, 24 Jan 2002 17:19:28 -0800 Message-ID: In-Reply-To: <3C507907.5B012DCF@waterford.org> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200201/280 X-Sequence-Number: 6364 Oleg, > I am wondering if anybody tried to link PostgreSQL tables/databases > from > SQL Server. > As I understand SQL Server uses OLE DB for this kind of connections. > I > wonder if this is possible at all with postgres. In theory, yes. In practice, no. According to the documentation, SQL-Server supports any Win32 ODBC  driver ... which would include PostgresODBC. However, in practice,  only Microsoft-supplied drivers actually work; ODBC drivers for  Postgres and MySQL mysteriously do not function with SQL-Server (even  though they do work with MS Access). I think this is incompetence on Microsoft's part rather than malice;  all of this works through DTS, a utility which is responsible for over  300 Knowledge Base issues. Note: I have not tried any of this with SQL Server 2000, just 7.0 sp3. -Josh ______AGLIO DATABASE SOLUTIONS___________________________                                        Josh Berkus   Complete information technology josh@agliodbs.com    and data management solutions (415) 565-7293   for law firms, small businesses fax 621-2533     and non-profit organizations. San Francisco and non-profit organizations. San Francisco