From: Michael Glaesemann <grzm@myrealbox.com>
To: azwa@nc.com.my
Cc: pgsql-sql@postgresql.org
Subject: Re: Insert into:Bad date external representation
Date: Wed, 14 Jan 2004 17:24:13 +0900
Message-ID: <08D26BD2-466B-11D8-8BB3-000A95C88220@myrealbox.com> (raw)
In-Reply-To: <OF93B7B966.7EC9812A-ONFFFFFF49.00458A6D@nc.com.my>
References: <OF93B7B966.7EC9812A-ONFFFFFF49.00458A6D@nc.com.my>
On Jan 14, 2004, at 4:39 PM, azwa@nc.com.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: grzm@myrealbox.com, azwa@nc.com.my
Subject: Re: Insert into:Bad date external representation
In-Reply-To: <08D26BD2-466B-11D8-8BB3-000A95C88220@myrealbox.com>
References: <OF93B7B966.7EC9812A-ONFFFFFF49.00458A6D@nc.com.my> <08D26BD2-466B-11D8-8BB3-000A95C88220@myrealbox.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox