Thread: Migrating Stored Procedures from MS SQL Server

Migrating Stored Procedures from MS SQL Server

From
"Kumar"
Date:
Dear Friends,
 
I am about to do a migration of stored procedures from MS SQL Server to Postgres. What is there any free tools available for it?
 
Shall I write a SQL function or PL/pgSQL function for Stored Procedures? Please advise me on this. Thanks in advance.
 
Kumar

Re: Migrating Stored Procedures from MS SQL Server

From
"David Witham"
Date:
Hi Kumar,
 
You'll need to use PL/pgSQL for your stored procedures.
 
When I migrated from Informix I found it was pretty easy - just a syntactic conversion of the procedures and a few data types to rename. The tricky bit is when you have used a MS SQL Server concept that PostgreSQL doesn't support. You'll need to write some new code or at worst redesign your logic to work around the differences. I don't expect there would be automated tools that could do that for you.
 
Regards,
David
-----Original Message-----
From: Kumar [mailto:sgnerd@yahoo.com.sg]
Sent: Friday, 29 August 2003 15:24
To: psql
Subject: [SQL] Migrating Stored Procedures from MS SQL Server

Dear Friends,
 
I am about to do a migration of stored procedures from MS SQL Server to Postgres. What is there any free tools available for it?
 
Shall I write a SQL function or PL/pgSQL function for Stored Procedures? Please advise me on this. Thanks in advance.
 
Kumar