How do I import this?

From: "Julio Cuz, Jr(dot)" <jcuz(at)rccd(dot)cc(dot)ca(dot)us>
To: pgsql-php(at)postgresql(dot)org
Subject: How do I import this?
Date: 2001-02-16 17:32:06
Message-ID: 4.3.2.7.2.20010216092952.00b85ee8@rccd.cc.ca.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hi--

I'm having problems importing a file that contains the following data
(close to 500 lines):

sample:
----------------
"Heritage";"5/2/00";"EOPS";12/30/1899 15:00:00;12/30/1899
17:00:00;12/30/1899 17:00:00;12/30/1899 15:00:00;"Claudette
Ellis";"Riverside";"cellis";"8123";100144;5/2/2000 0:00:00;"EOPS OPR Review
Staff Mtg";;"12";"12 Chairs and enough tables (set up) in a hollow square";
----------------

The delimiter is ";" and I'm using this:

COPY FROM <filename> INTO <mydbase> USING DELIMITER |;|

And it says bad format...Help!

Julio Cuz, Jr.
Riverside Community College
jcuz(at)rccd(dot)cc(dot)ca(dot)us

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Adam Lang 2001-02-16 17:58:47 Re: How do I import this?
Previous Message Matt Friedman 2001-02-13 07:38:19 Re: Trapping NOTICE using PHP