Skip site navigation (1) Skip section navigation (2)

Re: UPDATE Syntax Error

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pdxpug(at)postgresql(dot)org
Subject: Re: UPDATE Syntax Error
Date: 2011-02-04 21:02:45
Message-ID: alpine.LNX.2.00.1102041302050.9327@salmo.appl-ecosys.com (view raw or flat)
Thread:
Lists: pdxpug
On Fri, 4 Feb 2011, Tim Bruce wrote:

> I believe you want to use units IS NULL; instead of units = NULL; in your
> WHERE clause.

Tim,

   D'oh! Of course. NULLs cannot be equal to anything.

Many thanks,

Rich

In response to

pdxpug by date

Next:From: Darrell FuhrimanDate: 2011-02-04 21:04:26
Subject: DBA Job Opening
Previous:From: Darrell FuhrimanDate: 2011-02-04 20:58:14
Subject: Re: UPDATE Syntax Error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group