Re: When is a blank not a null or '' - Mailing list pgsql-general

From Troels Arvin
Subject Re: When is a blank not a null or ''
Date
Msg-id pan.2005.02.02.10.31.01.33278@arvin.dk
Whole thread Raw
In response to When is a blank not a null or ''  (mike <mike@redtux1.uklinux.net>)
Responses Re: When is a blank not a null or ''
List pgsql-general
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).

--
Greetings from Troels Arvin, Copenhagen, Denmark


pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: When is a blank not a null or ''
Next
From: Michael Kleiser
Date:
Subject: Re: When is a blank not a null or ''