Re: Insert into:Bad date external representation

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: azwa(at)nc(dot)com(dot)my
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Insert into:Bad date external representation
Date: 2004-01-14 08:24:13
Message-ID: 08D26BD2-466B-11D8-8BB3-000A95C88220@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Jan 14, 2004, at 4:39 PM, azwa(at)nc(dot)com(dot)my wrote:
> got an error as below :
>
> dwnc=> insert into biosadm.custdo_dim
> dwnc-> (do_key,do_no,do_date,attnto,custlo)
> dwnc-> select nextval('cdo_seq'),c.dono::varchar,c.dodate::date,
> dwnc-> c.attnto, c.custlo from custdo_temp c;
> ERROR: Bad date external representation ''
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Here's your clue right here: It means the dodate text field in
custdo_temp contains data that does not represent a valid date. Check
to make sure custdo_temp.dodate is all properly formatted.

HTH

Michael Glaesemann
grzm myrealbox com

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message sad 2004-01-14 14:45:27 DROP TRIGGER
Previous Message azwa 2004-01-14 07:39:34 Re: Insert into:Bad date external representation