Re: Bad timestamp external representation

From: "Albert REINER" <areiner(at)tph(dot)tuwien(dot)ac(dot)at>
To: "'pgsql-novice(at)postgresql(dot)org'" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Bad timestamp external representation
Date: 2001-08-22 17:03:52
Message-ID: 20010822190352.C616@frithjof
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Saluton,

On Wed, Aug 22, 2001 at 10:16:28AM +0200, Francois Thomas wrote:
>
> Hello everybody
>
> I meet the "bad timestamp external representation" error, and I don't know
...
> SELECT equip,produit,nserie,exserie,ech FROM package
> union
> SELECT id,produit,nserie,exserie,ech FROM equip
> union
> SELECT equip_id,'',produit,'','' FROM cles
^^

This looks to me that you are trying to use '' as a
timestamp. Instead, you should provide a meaningful timestamp -
probably NULL ("don't know").

Albert.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Hanbiao Wang 2001-08-22 18:01:35 installation problem
Previous Message Peter Eisentraut 2001-08-22 16:09:41 Re: [SQL] Altering pg_conndefaults