Re: date problems

From: Roberto Spier <roberto(dot)spier(at)conab(dot)gov(dot)br>
To: marchesini(at)unipg(dot)it
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: date problems
Date: 2007-08-30 18:31:52
Message-ID: 46D70D18.5060501@conab.gov.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Sean Davis 2007-08-30 21:43:00 Reporting functions (OLAP)
Previous Message Michael Glaesemann 2007-08-30 14:39:47 Re: date problems