I'd suggest looking into https://babelfishpg.org/.
This was formerly an AWS project that they fully opensourced (https://aws.amazon.com/rds/aurora/babelfish/).'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.'
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.dhareshwar@xxxxxxxxx> 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.it@xxxxxxxxx> wrote:Hi SamedI 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.ThanksDattaOn Mon, Jan 9, 2023 at 5:59 PM Samed YILDIRIM <samed@xxxxxxxxxx> 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 YILDIRIMOn Sun, 1 Jan 2023 at 20:12, Datta D <dattadeshpande.it@xxxxxxxxx> wrote:Dear AdminsI 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?ThanksDatta--Regards,
Gurudutt Dhareshwar