From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Mamatha_Kagathi_Chan(at)DELL(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: [pgadmin-support] Help for Migration |
Date: | 2011-09-06 13:04:40 |
Message-ID: | 20110906130440.GA28914@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support pgsql-general |
On Tue, Sep 06, 2011 at 12:17:28PM +0000, Mamatha_Kagathi_Chan(at)DELL(dot)com wrote:
> Hi,
>
> I am trying to migrate a very small MS SQL Server Database (with 200
> records max, 20 tables, 10 stored procedures) to PostgreSQL. I tried
> browsing through internet to find technical steps but I found some
> blogs with vague discussion for same. Kindly let me know where to
> look for the information or even better if I can get some document
> from the community for the same.
The table structures shouldn't be a problem to do fairly mechanically,
and at worst you can simply hand-type in the data. The stored
procedures will be a problem at two levels:
1. You'll have to translate them into a language PostgreSQL can use
from (I'm guessing here, but it's usually a good guess in these
situations) T-SQL.
2. PostgreSQL functions, which are similar in many ways to stored
procedures, have a fundamental difference: they can't control
transactions. Any stored procedures that have a COMMIT or ROLLBACK in
them will have to be re-architected in a fundamental way.
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas | 2011-09-07 00:20:26 | wrong encoding in pg log |
Previous Message | Mamatha_Kagathi_Chan | 2011-09-06 12:17:28 | Re: [pgadmin-support] Help for Migration |
From | Date | Subject | |
---|---|---|---|
Next Message | David Johnston | 2011-09-06 14:18:41 | Re: UPDATE using query; per-row function calling problem |
Previous Message | Mamatha_Kagathi_Chan | 2011-09-06 12:17:28 | Re: [pgadmin-support] Help for Migration |