Re: import CSV file

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: import CSV file
Date: 2007-03-14 15:58:44
Message-ID: 20070314155844.GC8944@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, Mar 13, 2007 at 11:52:17PM +0000, T E Schmitz wrote:
> Also, it's nopt happy about the date format : 2007/02/09

You may need to fiddle with your date style. It works for me on 8.1:

SELECT '2007/02/09'::date;
date
------------
2007-02-09
(1 row)

A
--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
When my information changes, I alter my conclusions. What do you do sir?
--attr. John Maynard Keynes

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Andreas Kretschmer 2007-03-14 16:12:35 Re: ordering by multiple columns
Previous Message Pablo Barrón 2007-03-14 15:50:34 ordering by multiple columns