pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julio Cuz, Jr. <jcuz@rccd.cc.ca.us>
To: pgsql-php@postgresql.org
Subject: How do I import this?
Date: Fri, 16 Feb 2001 09:32:06 -0800
Message-ID: <4.3.2.7.2.20010216092952.00b85ee8@rccd.cc.ca.us> (raw)

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@rccd.cc.ca.us




view thread (3+ messages)  latest in thread

Message-ID: <4.3.2.7.2.20010216092952.00b85ee8@rccd.cc.ca.us>
Permalink:  ../4.3.2.7.2.20010216092952.00b85ee8@rccd.cc.ca.us/
Also on:    postgresql.org/message-id/4.3.2.7.2.20010216092952.00b85ee8@rccd.cc.ca.us

 · 

reply

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-php@postgresql.org
  Cc: jcuz@rccd.cc.ca.us
  Subject: Re: How do I import this?
  In-Reply-To: <4.3.2.7.2.20010216092952.00b85ee8@rccd.cc.ca.us>
  References: <4.3.2.7.2.20010216092952.00b85ee8@rccd.cc.ca.us>

* 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