Re: Problems with copy
От | Patrick Hatcher |
---|---|
Тема | Re: Problems with copy |
Дата | |
Msg-id | OF956C0D3F.D9A2893D-ON88256CEE.0062BC32-88256CEE.006353E4@fds.com обсуждение исходный текст |
Ответ на | Problems with copy (Fred Soustra <fredboard@sus.mcgill.ca>) |
Список | pgsql-novice |
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
В списке pgsql-novice по дате отправления: