Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group