I think this is correct:
copy client(field1,field2,fieldn) from
'/path/client.del' using
delimiters ',';
HTH
Patrick Hatcher
Fred Soustra
<fredboard@sus.mcgill.c To: pgsql-novice@postgresql.org
a> cc:
Sent by: Subject: [NOVICE] Problems with copy
pgsql-novice-owner@post
gresql.org
03/14/2003 12:40 AM
Hi, I am trying to import data from a cvs, file using copy the only problem
i
have is that the first field of my table is automatically generated.
So I wanted to know if there is a way to select which columns copy should
use.
the command i am running is the following
copy client from
'/path/client.del' using
delimiters ',';
Can i get it to do something like
import from file foo insert into (col2,col3 ...) ?
Thanx
Fred
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly