Skip site navigation (1) Skip section navigation (2)

How to import CSV file?

From: "Chris Hoover" <revoohc(at)gmail(dot)com>
To: "pgsql-admin(at)postgresql(dot)org Admin" <pgsql-admin(at)postgresql(dot)org>
Subject: How to import CSV file?
Date: 2007-08-28 15:38:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
I need some help importing a csv file.  I have been given a csv file full of
data that is delimited by a comma, and the strings are delimited by a single
quote.  How do you write the copy statement to use a single quote
delimiter?  I have tried several things, but so far, no joy.

Thanks for any help,



pgsql-admin by date

Next:From: KLDate: 2007-08-28 16:08:55
Subject: pg_dump object dump-order
Previous:From: John R AllgoodDate: 2007-08-28 14:46:23
Subject: How to monitor resources on Linux.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group