pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Migrating Stored Procedures from MS SQL Server
2+ messages / 2 participants
[nested] [flat]

* Migrating Stored Procedures from MS SQL Server
@ 2003-08-29 05:24 Kumar <sgnerd@yahoo.com.sg>
  0 siblings, 0 replies; 2+ messages in thread

From: Kumar @ 2003-08-29 05:24 UTC (permalink / raw)
  To: pgsql-sql

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Migrating Stored Procedures from MS SQL Server
@ 2003-08-29 05:31 David Witham <davidw@unidial.com.au>
  0 siblings, 0 replies; 2+ messages in thread

From: David Witham @ 2003-08-29 05:31 UTC (permalink / raw)
  To: Kumar <sgnerd@yahoo.com.sg>; pgsql-sql

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-08-29 05:31 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 05:24 Migrating Stored Procedures from MS SQL Server Kumar <sgnerd@yahoo.com.sg>
2003-08-29 05:31 Re: Migrating Stored Procedures from MS SQL Server David Witham <davidw@unidial.com.au>

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