Re: Importing from Access 2000?

From: Dennis Gearon <gearond(at)cvc(dot)net>
To: Bjorn T Johansen <btj(at)havleik(dot)no>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Importing from Access 2000?
Date: 2003-04-29 15:13:08
Message-ID: 3EAE9684.2060208@cvc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

those are bad dates, what do you expect it to do?

Bjorn T Johansen wrote:
> I am trying to convert an Access database to PostgreSQL and the import
> works until it comes to timestamps, then I get error msg like these:
>
> ERROR: Bad timestamp external representation '0000-00-00 01:00:00'
> ERROR: Bad timestamp external representation '0000-00-00 15:50:00'
> ERROR: Bad timestamp external representation '0000-00-00 17:20:00'
> ERROR: Bad timestamp external representation '0000-00-00 18:20:00'
> ERROR: Bad timestamp external representation '0000-00-00 18:30:00'
> ERROR: Bad timestamp external representation '0000-00-00 18:40:00'
> ERROR: Bad timestamp external representation '0000-00-00 18:50:00'
> ERROR: Bad timestamp external representation '0000-00-00 19:00:00'
> ERROR: Bad timestamp external representation '0000-00-00 23:00:00'
> ERROR: Bad timestamp external representation '0000-00-00 23:30:00'
> ERROR: Bad timestamp external representation '0000-00-00'
> ERROR: Bad timestamp external representation '0000-00-00 00:30:00'
> ERROR: Bad timestamp external representation '0000-00-00 01:00:00'
> ERROR: Bad timestamp external representation '0000-00-00 19:00:00'
>
> Does anyone have any suggestion on how to overcome this problem?
> (BTW, I am using PostgreSQL 7.3.2 and ODBC)
>
> Regards,
>
> BTJ
>
>
> -----------------------------------------------------------------------------------------------
> Bjørn T Johansen (BSc,MNIF)
> Executive Manager
> btj(at)havleik(dot)no Havleik Consulting
> Phone : +47 67 54 15 17 Conradisvei 4
> Fax : +47 67 54 13 91 N-1338 Sandvika
> Cellular : +47 926 93 298 http://www.havleik.no
> -----------------------------------------------------------------------------------------------
> "The stickers on the side of the box said "Supported Platforms: Windows
> 98, Windows NT 4.0,
> Windows 2000 or better", so clearly Linux was a supported platform."
> -----------------------------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-04-29 15:16:10 Re: Importing from Access 2000?
Previous Message Tom Lane 2003-04-29 15:10:29 Re: Error: No one parent tuple was found