From: mike <mike@cyborg-group.com>
To: pgsql-interfaces@postgresql.org
Subject: imorting csv files into postgres
Date: 18 Jan 2001 18:03:23 +0000
Message-ID: <E14JIp9-0003RL-00@mail1.mailshot> (raw)
Does anyone know if you can import csv text files into postgres
I have tried the COPY command and it needs to have an existing table,
while what I want to do is create a new table from a csv file.
Also is there any way to define the text seperater ala MSSQL eg
field seperator = ,
text seperator = "
Thanks
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: mike@cyborg-group.com
Subject: Re: imorting csv files into postgres
In-Reply-To: <E14JIp9-0003RL-00@mail1.mailshot>
* 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