Re: Incremental load from SQL server DB to postgressql

From: Bo Victor Thomsen <bo(dot)victor(dot)thomsen(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Incremental load from SQL server DB to postgressql
Date: 2024-09-05 14:56:05
Message-ID: 2e6fb4e8-2854-4eea-96ba-af2e5212b4e1@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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:
> 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(dot)sabyasachi(at)outlook(dot)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
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sam Stearns 2024-09-05 19:09:31 Re: Book
Previous Message Wasim Devale 2024-09-05 14:11:28 Re: Incremental load from SQL server DB to postgressql