From: David Witham <davidw@unidial.com.au>
To: Kumar <sgnerd@yahoo.com.sg>
To: psql <pgsql-sql@postgresql.org>
Subject: Re: Migrating Stored Procedures from MS SQL Server
Date: Fri, 29 Aug 2003 15:31:44 +1000
Message-ID: <CFA248776934FD43847E740E43C346D199D87C@ozimelb03.ozicom.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: davidw@unidial.com.au, sgnerd@yahoo.com.sg
Subject: Re: Migrating Stored Procedures from MS SQL Server
In-Reply-To: <CFA248776934FD43847E740E43C346D199D87C@ozimelb03.ozicom.com>
References: <CFA248776934FD43847E740E43C346D199D87C@ozimelb03.ozicom.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox