Re: SQL Server 2000 to PostgreSQL 8.0.3

From: Sergey Moiseev <bopm(at)udaff(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Cc: "josh(at)segrestfarms(dot)com" <josh(at)segrestfarms(dot)com>
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
Date: 2005-08-09 13:37:43
Message-ID: 42F8B1A7.9000105@udaff.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

josh(at)segrestfarms(dot)com wrote:

> I am having difficulty moving a SQL Server 2000 database over to
> PostgreSQL 8.0.3.
>
> In SQL Server, I am performing a backup of the database I want to move.
> I save that backup on my Desktop.
>
> I am then opening up PGAdminIII and attempting to perform a Restore of
> the database saved on my Desktop. The first step I take is to create a
> new database, MyDB. Next, I highlight my new database and then select
> Restore from the Tools menu. The Restore Database window pops up and I
> Browse to the database backup I've saved on my Desktop. After selecting
> the backup, the 'OK' button stays grayed and I am unable to proceed.

As already mentioned, there is no unified backups for DBMS. You may move
structure and data, but not stored procedures and triggers, by
installing postgresql-odbc on mssql server machine and using
export/import tools from enterprise manager of mssql to export from
mssql and import into postgresql-odbc connection.

For user types, triggers, storeds you'll need to do rewrite it by hands.
--
Wbr, Sergey Moiseev

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joel Fradkin 2005-08-09 13:46:49 Re: SQL Server 2000 to PostgreSQL 8.0.3
Previous Message Stephen Frost 2005-08-09 13:20:15 Re: REVOKE from all tables ...