|
|||||||||||
|
Re: [GENERAL] Connect to SQL Server via ODBC from Postgresql
From: Afewtips.com <afewtips(at)gmail.com>
Date: Fri Jan 04 2008 - 11:51:59 EST
I think I may have figured it out - so this may be useful to someone as well. I installed the enterprise server and it had everything installed and the syntax that I am using and works is:
select * from dblink('hostaddr=000.00.00.00 port=1433 dbname=db
user=username password=password',
The objective is to connect and submit a query from Postgresql into a SQL Server database and return the results. And from what I read, I can create a view from the above string and connect more easily with the view. ---------------------------(end of broadcast)---------------------------TIP 2: Don't 'kill -9' the postmaster Received on Tue Jan 8 09:36:12 2008 This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 23:32:50 EDT |
||||||||||
|
|||||||||||