null value in date field

Поиск
Список
Период
Сортировка
От Jeff Deroshia
Тема null value in date field
Дата
Msg-id C518AACE-437B-11D7-9E8D-000393A34A52@hal.physast.uga.edu
обсуждение исходный текст
Список pgsql-novice
I have a form that contains optional DATE fields.  To enter null
values, I've tried null, 'null', '', '-', '0', 0, and each time I get
one of the following errors:

ERROR:  Bad numeric input format ''

ERROR:  Bad date external representation ''

Is there a correct way to enter null values into DATE fields?

Thanks,
Jeff Deroshia


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

Предыдущее
От: Adam Bultman
Дата:
Сообщение: Re: Importing Postgres 7.1.1 DBs into Postgres 7.3.2
Следующее
От: Jeff Deroshia
Дата:
Сообщение: Re: null value in date field