Re: MSSQL to PostgreSQL Migration

From: Alex Aquino <alex(at)efficiencygeek(dot)com>
To: Gurudutt Dhareshwar <gurudutt(dot)dhareshwar(at)gmail(dot)com>
Cc: Datta D <dattadeshpande(dot)it(at)gmail(dot)com>, Samed YILDIRIM <samed(at)reddoc(dot)net>, pgsql-admin(at)postgresql(dot)org
Subject: Re: MSSQL to PostgreSQL Migration
Date: 2023-01-12 15:08:10
Message-ID: CANnWeTrsVSRq1VKszY1O5H-9YiBYiYyZ1avWyR6nRCENEVu6dQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I'd suggest looking into https://babelfishpg.org/.

'Babelfish understands the SQL Server wire-protocol and T-SQL, the
Microsoft SQL Server query language, so you don’t have to switch database
drivers or re-write all of your application queries.'

This was formerly an AWS project that they fully opensourced (
https://aws.amazon.com/rds/aurora/babelfish/)

Dependening on the specifics of your usecase, it might help in your overall
solution.

Regards,
Alex

On Wed, Jan 11, 2023 at 9:21 PM Gurudutt Dhareshwar <
gurudutt(dot)dhareshwar(at)gmail(dot)com> wrote:

> Hi Datta ,
>
> You can extract the data using the SSM Tool right click on the DB and use
> the extract wizard once done you can use a open source tool like SQLline to
> change the code. and then create them in Postgres .
>
> For data you can move it using the SQL tool itself or take a BCP Out and
> then insert using the psql -d option .
>
> On Wed, Jan 11, 2023 at 7:14 PM Datta D <dattadeshpande(dot)it(at)gmail(dot)com>
> wrote:
>
>> Hi Samed
>> I have all type of objects tables,views, functions, procs etc with Data
>> in table SqlServer database, which I am looking for migrating it to
>> Postgresql with OpenSource tools.
>>
>> Thanks
>> Datta
>>
>> On Mon, Jan 9, 2023 at 5:59 PM Samed YILDIRIM <samed(at)reddoc(dot)net> wrote:
>>
>>> Hi Datta,
>>>
>>> What objects do you exactly need to migrate? Tables, views, functions,
>>> indexes, procedures etc. Depending on object types, I can recommend
>>> multiple options. Unfortunately, I don't know any good solution that can
>>> convert all T-SQL code to pl/pgsql.
>>>
>>> Best regards.
>>> Samed YILDIRIM
>>>
>>>
>>> On Sun, 1 Jan 2023 at 20:12, Datta D <dattadeshpande(dot)it(at)gmail(dot)com>
>>> wrote:
>>>
>>>> Dear Admins
>>>> I am looking for a reliable open-source tool for migrating MSSQL
>>>> server to Postgresql on prem cloud.
>>>> Can you please suggest a related open-source tool for migrating all
>>>> objects and data?
>>>>
>>>> Thanks
>>>> Datta
>>>>
>>>
>
> --
> Regards,
>
> Gurudutt Dhareshwar
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Holger Jakobs 2023-01-12 17:37:08 Re: MSSQL to PostgreSQL Migration
Previous Message Gurudutt Dhareshwar 2023-01-12 03:21:32 Re: MSSQL to PostgreSQL Migration