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

From Chris Green
Subject Re: When is a blank not a null or ''
Date
Msg-id 20050202111844.GB29501@areti.co.uk
Whole thread Raw
In response to When is a blank not a null or ''  (mike <mike@redtux1.uklinux.net>)
List pgsql-general
On Wed, Feb 02, 2005 at 09:59:30AM +0000, mike wrote:
> I have the following query (I have removed all nulls from the field as
> test)
>
> SELECT first_name,work_email FROM tb_contacts  WHERE
> tb_contacts.work_email <>'';
>
> However I get loads of blank email addresses coming up
>
Maybe you have some entries in the work_email column set to one or
more spaces.

--
Chris Green (chris@areti.co.uk)

    "Never ascribe to malice that which can be explained by incompetence."

pgsql-general by date:

Previous
From: mike
Date:
Subject: Re: When is a blank not a null or ''
Next
From: Martijn van Oosterhout
Date:
Subject: Re: When is a blank not a null or ''