Re: Pet Peeves?

Поиск
Список
Период
Сортировка
Искать
От
Jasen Betts
Тема
Re: Pet Peeves?
Дата
Msg-id
gm2861$n94$2@reversiblemaps.ath.cx
Список
Дерево обсуждения
Re: Pet Peeves? "Holger Hoffstaette" <holger@wizards.de>
On 2009-01-29, Steve Crawford  wrote:
>
>>> 3. Date handling
>>> Sometimes I've got data with invalid dates and it would be great if it
>>> could replace all the bad ones with, say "0000-00-00".
>>>     

 0000-00-00 doesn't fit in a date column.
 perhaps you could use null?
 
 write a function that casts and catches the exception caused when bad 
 dates are attempted and returens null, use it to translate your data.
 

В списке pgsql-general по дате отправления
От: Jasen Betts
Дата:
Сообщение: Re: getting no days problem
От: Mohamed
Дата:
FAQ