Ben Mearns
GIS and Data in PA
Thursday, December 23, 2010
WHERE NOT IN and NULL in Postgresql
NULL values trip up the WHERE NOT IN condition in Postgres. To fix this behavior, use a conditional (not null) in the subquery.
source:
http://www.depesz.com/index.php/2008/08/13/nulls-vs-not-in/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment