X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BC746D1B4CD for ; Mon, 5 Jan 2004 10:48:40 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 42882-09 for ; Mon, 5 Jan 2004 06:47:54 -0400 (AST) Received: from rediffmail.com (unknown [203.199.83.245]) by svr1.postgresql.org (Postfix) with SMTP id 68B81D1B4C7 for ; Mon, 5 Jan 2004 06:47:50 -0400 (AST) Received: (qmail 4958 invoked by uid 510); 5 Jan 2004 10:47:16 -0000 Date: 5 Jan 2004 10:47:16 -0000 Message-ID: <20040105104716.4957.qmail@mailweb33.rediffmail.com> Received: from unknown (198.151.41.206) by rediffmail.com via HTTP; 05 jan 2004 10:47:14 -0000 MIME-Version: 1.0 From: "Amitava Roy" Reply-To: "Amitava Roy" To: pgsql-admin@postgresql.org Subject: Migration from M$ SQL Content-type: multipart/alternative; boundary="Next_1073299634---0-203.199.83.245-4911" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=BAYES_30, HTML_10_20, MSG_ID_ADDED_BY_MTA_2 X-Spam-Level: * X-Archive-Number: 200401/31 X-Sequence-Number: 11894 This is a multipart mime message --Next_1073299634---0-203.199.83.245-4911 Content-type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Hi All,

In our company we are planning for a migration from an
MS SQL/NT to PostgreSQL/Linux. The current database contains
mainly SQL standard data types(though a few user defined data types
may be there), is using Triggers and Stored procedures.
I have already seen the migration howtos available at the PostgreSQL
site. I have some questions to be cleared before we really start a
Pilot project for the planned migration:
1. How do we efficiently migrate data from MS to Pg? Is CSV good enough?
  The existing database size is around 25 GB.
2. Is there a systematic/regular mapping of SQL Scripts for MS to that
  for Pg? In other words, is it possible to come up with say, sed
  scripts, which would convert an MS Stored Procedure/Trigger to that =
  in Pg?
Thanks in advance.
A very happy New Year to all :)
-Amitava Roy.



--Next_1073299634---0-203.199.83.245-4911 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi All, In our company we are planning for a migration from an=20 MS SQL/NT to PostgreSQL/Linux. The current database contains mainly SQL standard data types(though a few user defined data types=20 may be there), is using Triggers and Stored procedures. I have already seen the migration howtos available at the PostgreSQL=20 site. I have some questions to be cleared before we really start a Pilot project for the planned migration: 1. How do we efficiently migrate data from MS to Pg? Is CSV good enough? The existing database size is around 25 GB. 2. Is there a systematic/regular mapping of SQL Scripts for MS to that=20 for Pg? In other words, is it possible to come up with say, sed=20 scripts, which would convert an MS Stored Procedure/Trigger to that=20 in Pg? Thanks in advance. A very happy New Year to all :) -Amitava Roy.=20 --Next_1073299634---0-203.199.83.245-4911--