Re: Incremental load from SQL server DB to postgressql - Mailing list pgsql-admin

From Bo Victor Thomsen
Subject Re: Incremental load from SQL server DB to postgressql
Date
Msg-id 2e6fb4e8-2854-4eea-96ba-af2e5212b4e1@gmail.com
Whole thread Raw
In response to Re: Incremental load from SQL server DB to postgressql  (Holger Jakobs <holger@jakobs.com>)
List pgsql-admin

You could use the the ogc_fdw foreign data wrapper. 


It's a data wrapper for accessing spatial data using the GDAL library. But it works just fine with non-spatial data too, including MS-SqlServer. And it's well maintained.


Med venlig hilsen / Best regards

Bo Victor Thomsen
On 05-09-2024 16:01, Holger Jakobs wrote:
P {margin-top:0;margin-bottom:0;}
You could try to use BCP.exe for exporting from MS SQL to a flat file per table. Load into PG SQL Server with COPY or \copy (psql).

Using the TSQL foreign data wrapper to pull data over is another option. This FDW isn't very well maintained, though.

Regards
Holger

--
Holger Jakobs, Bergisch Gladbach
Tel. +49 178 9759012


Am 5. September 2024 15:54:31 MESZ schrieb Sabyasachi Mukherjee <mukherjee.sabyasachi@outlook.com>:
Hello All,

I have to implement an incremental load from a SQL server DB to a postgresql DB. I would prefer it to be pull from postgres.
SSIS is not the preferred option. Can you please advise about the possibilities?

Sabyasachi Mukherjee

pgsql-admin by date:

Previous
From: Wasim Devale
Date:
Subject: Re: Incremental load from SQL server DB to postgressql
Next
From: Sam Stearns
Date:
Subject: Re: Book