Is there a way to read data from PostgreSQL into a SQL Server View ?
I need to access some data in PostgreSQL from my ASP.NET app so I try to read from SQL Server view that already get data from PostgreSQL table.
Thanks in advance.
Is there a way to read data from PostgreSQL into a SQL Server View ? I need to access some data in PostgreSQL from my ASP.NET app so I try to read from SQL Server view that already get data from PostgreSQL table. Thanks in advance. |
|||||||||||||||||||||
closed as too broad by Kermit, OGHaza, Clockwork-Muse, Vladimir Oselsky, rene Apr 25 at 20:53There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question. |
|||||||||||||||||||||
|
It is pretty simple. Step one, download an odbc driver here, according to your system: http://www.postgresql.org/ftp/odbc/versions/msi/ I found problems installing 09_03_0100 on a clean machine. I suggest 09_02_0100-x64. Step 2, create an ODBC in System DNS, and test it:
Step 3, create a linked server:
Step 4, query your linked server like this:
|
|||
|