X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 56089D1B4AD for ; Fri, 19 Dec 2003 16:05:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 26924-04 for ; Fri, 19 Dec 2003 12:04:33 -0400 (AST) Received: from 3times25.net (66-23-202-190.clients.speedfactory.net [66.23.202.190]) by svr1.postgresql.org (Postfix) with ESMTP id 100EBD1B448 for ; Fri, 19 Dec 2003 12:04:33 -0400 (AST) Received: from 3times25.net (localhost [127.0.0.1]) by 3times25.net (Postfix) with ESMTP id 92BAD41E97 for ; Fri, 19 Dec 2003 11:07:13 -0500 (EST) Message-ID: <3FE32231.5030207@3times25.net> Date: Fri, 19 Dec 2003 11:07:13 -0500 From: Geoffrey User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: testing for null value in integer field? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/129 X-Sequence-Number: 16295 How does one check for an unset value in an integer field? I've tried such things as: select ..... where intnumber = '' select ...... where intnumber = ? select ..... where intnumber = NULL Thanks. -- Until later, Geoffrey esoteric@3times25.net Building secure systems inspite of Microsoft