Re: Insert into:Bad date external representation

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Insert into:Bad date external representation
Дата
Msg-id 08D26BD2-466B-11D8-8BB3-000A95C88220@myrealbox.com
обсуждение исходный текст
Ответ на Re: Insert into:Bad date external representation  (azwa@nc.com.my)
Список pgsql-sql
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



В списке pgsql-sql по дате отправления:

Предыдущее
От: azwa@nc.com.my
Дата:
Сообщение: Re: Insert into:Bad date external representation
Следующее
От: "Luis C. Ferreira (aka lcf)"
Дата:
Сообщение: Re: Transpose rows to columns