Re: SQL Server 2000 to PostgreSQL 8.0.3

From: James Herbers <james(at)herbers(dot)ca>
To: "josh(at)segrestfarms(dot)com" <josh(at)segrestfarms(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
Date: 2005-08-09 13:13:40
Message-ID: 42F8AC04.2060403@herbers.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

josh(at)segrestfarms(dot)com wrote:

> Greetings.
>
> 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.
>
That backup is in Microsofts own format, PostgreSQL will not be able to
read this.

> 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.
>
> Any ideas as to how I can work around this? Thanks in advance.

Use a program such as Aqua Data Studio (http://www.aquafold.com) to
connect to the MSSQL db and export the data as INSERT statements. Then
run the sql in PGAdmin.

>
>
> Josh in Tampa
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

In response to

Responses

Browse pgsql-admin by date

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