[Labs-l] User registration time is NULL

Marc A. Pelletier marc at uberbox.org
Sun Aug 4 19:24:34 UTC 2013


On 08/04/2013 10:02 AM, Damian Zaremba wrote:
> `user_registration` != NULL;

Your SQL is probably not what you intend.  NULL is never equal to
anything, including another NULL.  If you write:

'WHERE user_registration IS NOT NULL' you get the result (I presume) you
expect.

-- Marc




More information about the Labs-l mailing list