Re: problem with date

Поиск
Список
Период
Сортировка
От DalTech - Continuing Technical Education
Тема Re: problem with date
Дата
Msg-id 003201bfea9b$93ad45a0$5911be86@cte.Dal.Ca
обсуждение исходный текст
Ответ на problem with date  (Shalini shikha <shalini@ctlno.com>)
Список pgsql-sql
Try NULL rather than ''.  '' is not a null in postgres.


----- Original Message ----- 
From: Shalini shikha <shalini@ctlno.com>
To: <pgsql-sql@postgresql.org>
Sent: Monday, July 10, 2000 3:15 PM
Subject: [SQL] problem with date


> How can I insert/update a null value in a date field. If a try a sql
> statement like the following:
> 
> update customer set birth_date = '' where cust_id like 'xyz', I get a
> error message saying: Bad date representation.
> 
> Thanks in advance,
> Shalini



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

Предыдущее
От: Shalini shikha
Дата:
Сообщение: problem with date
Следующее
От: Bernie Huang
Дата:
Сообщение: Timestamp problem