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 BD9BAD1CB56 for ; Tue, 20 Jan 2004 13:25:47 +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 13782-07 for ; Tue, 20 Jan 2004 09:25:19 -0400 (AST) Received: from sharp.noc24x7.com (unknown [69.56.128.138]) by svr1.postgresql.org (Postfix) with ESMTP id D27E1D1B49A for ; Tue, 20 Jan 2004 09:25:15 -0400 (AST) Received: from [61.1.218.166] (helo=thenilgiris.com) by sharp.noc24x7.com with asmtp (Exim 4.24) id 1AivsW-0004Tz-Bg for pgsql-sql@postgresql.org; Tue, 20 Jan 2004 18:55:13 +0530 Received: from localhost (localhost [[UNIX: localhost]]) by thenilgiris.com (8.11.2/8.11.2) id i0KDhDe24346 for pgsql-sql@postgresql.org; Tue, 20 Jan 2004 19:13:13 +0530 Content-Type: text/plain; charset="iso-8859-1" From: Kenneth Gonsalves To: pgsql-sql@postgresql.org Subject: comparing nulls Date: Tue, 20 Jan 2004 19:13:12 +0530 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <04012019131206.01434@thenilgiris.com> Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sharp.noc24x7.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - thenilgiris.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_RFCI X-Spam-Level: * X-Archive-Number: 200401/177 X-Sequence-Number: 16570 in postgres7.1 i had a table where an integer field could be null. There was no default value. a select statement like so: 'select * from table where field = null' would give all the rows where that field had no value. on porting to 7.3.2, this doesnt work. How to do this? -- regards kg http://www.ootygolfclub.org poor man's tally: http://avsap.sourceforge.net