Re: date problems - Mailing list pgsql-sql

From Roberto Spier
Subject Re: date problems
Date
Msg-id 46D70D18.5060501@conab.gov.br
Whole thread Raw
In response to date problems  (ivan marchesini <marchesini@unipg.it>)
List pgsql-sql
ivan marchesini escreveu:
> Dear PG users,
> I have an access db and I'm trying to pass all to postgres
> I have used mdbtools to export the schema and all went quite well.
> then I exported the single tables... to csv..
>
> a lot of table have some timestamp fields containing data as DD/MM/YYYY,
> and I'm no able to copy this table into postgres... because it needs
> YYYY/MM/DD...
> I used \copy...
>
> Which is the best solution for this problem...
>
> many thanks
>
> Ivan
>
>   
another approach:

from within your access .mdb file, connect your new pg tables through 
ODBC. Then execute an INSERT INTO pg_table(...) SELECT ... FROM acc_table;

spier


pgsql-sql by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: date problems
Next
From: Sean Davis
Date:
Subject: Reporting functions (OLAP)