From: josh@segrestfarms.com <josh@segrestfarms.com>
To: Ben Kim <bkim@coe.tamu.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
Date: Tue, 09 Aug 2005 15:01:47 -0400
Message-ID: <42F8FD9B.2090908@segrestfarms.com> (raw)
In-Reply-To: <Pine.GSO.4.10.10508090904410.18818-100000@coe.tamu.edu>
References: <Pine.GSO.4.10.10508090904410.18818-100000@coe.tamu.edu>
I have successfully moved the schema over to PostgreSQL.
Now I am working on the data.
In reviewing my tables, I found that for some strange reason a handful
of fields are not double-quoted. Strange quirk:
-- Table: "Orders"
-- DROP TABLE "Orders";
CREATE TABLE "Orders"
(
"OrderID" int4 NOT NULL,
"CustomerID" int4 NOT NULL,
"DateCreated" timestamptz,
"TotalPrice" numeric(19,4),
"ShipAddressID" int4,
"ShipDate" timestamptz,
"ShippingMethod" varchar(50),
"sfrepID" varchar(50),
"StatusID" int4,
"TrackingNumber" varchar(50),
ponumber varchar(50), <--------------HERE
"Comment" char(254),
"sfOrderNumber" varchar(50),
"UpdateDate" timestamptz
)
WITH OIDS;
ALTER TABLE "Orders" OWNER TO postgres;
What to make of this strangeness?
Ben Kim wrote:
>Here's my 2 cents.
>
>If you have access to DTS in SQL Server 2000, it will be one convenient
>solution for simple transfer.
>
>It's a matter of creating a new task, defining the SQL Server database as
>source and PostgreSQL database as destination, and clicking through. There
>will be some mismatches in data types, but you can convert data using
>scripts inisde the DTS task on the fly.
>
>
>Regards,
>
>Ben Kim
>Developer
>College of Education
>Texas A&M University
>
>
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: josh@segrestfarms.com, bkim@coe.tamu.edu
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
In-Reply-To: <42F8FD9B.2090908@segrestfarms.com>
References: <Pine.GSO.4.10.10508090904410.18818-100000@coe.tamu.edu> <42F8FD9B.2090908@segrestfarms.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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