Re: SQL Server 2000 to PostgreSQL 8.0.3

From: Ben Kim <bkim(at)coe(dot)tamu(dot)edu>
To: "josh(at)segrestfarms(dot)com" <josh(at)segrestfarms(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
Date: 2005-08-09 20:59:59
Message-ID: Pine.GSO.4.10.10508091555300.22191-100000@coe.tamu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>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;

In my case, DTS's "create" always wrapped the field names with double
quote. The script seems to me not from DTS.

Regards,

Ben Kim
Developer
College of Education
Texas A&M University

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message FM 2005-08-09 21:17:25 problem during amrestore
Previous Message Michael Fuhr 2005-08-09 20:48:09 Re: PG 7.3.4 VS PG 8.0.3 Problem