Re: When is a blank not a null or ''

Поиск
Список
Период
Сортировка
Искать
От
mike
Тема
Re: When is a blank not a null or ''
Дата
Msg-id
1107343204.21155.14.camel@datacc
Ответ на
Список
Дерево обсуждения
Re: When is a blank not a null or '' Troels Arvin <troels@arvin.dk>
Re: When is a blank not a null or '' mike <mike@redtux1.uklinux.net>
Re: When is a blank not a null or '' Michael Kleiser <mkl@webde-ag.de>
On Wed, 2005-02-02 at 11:31 +0100, Troels Arvin wrote:
> On Wed, 02 Feb 2005 09:59:30 +0000, mike wrote:
> 
> > SELECT first_name,work_email FROM tb_contacts  WHERE
> > tb_contacts.work_email <>'';
> > 
> > However I get loads of blank email addresses coming up
> > 
> > anyone any ideas
> 
> An idea: You have " "-values in your work_email column, i.e. work_email
> values consisting of space(s).
> 

nope

SELECT work_email FROM tb_contacts  WHERE tb_contacts.work_email ILIKE
'% %';
 work_email
------------
(0 rows)

В списке pgsql-general по дате отправления
От: Alban Hertroys
Дата:
От: WireSpot
Дата:
Сообщение: query time
FAQ