X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3BF9E3AC3ED for ; Tue, 28 Dec 2004 17:54:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46270-04 for ; Tue, 28 Dec 2004 17:54:10 +0000 (GMT) Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr1.postgresql.org (Postfix) with ESMTP id 2779C3AC4ED for ; Tue, 28 Dec 2004 17:52:38 +0000 (GMT) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 28 Dec 2004 11:52:36 -0600 Subject: Re: openoffice and boolean From: Scott Marlowe To: tony Cc: pgsql-jdbc@postgresql.org In-Reply-To: <1104254089.3777.4.camel@hush> References: <1104254089.3777.4.camel@hush> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1104256356.28179.2.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 28 Dec 2004 11:52:36 -0600 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/203 X-Sequence-Number: 11869 On Tue, 2004-12-28 at 11:14, tony wrote: > Hello, > > Connecting OOo 1.1.2 to Postgresql via JDBC I can't seem to find the > correct OOo query editor criteria for a boolean value. Does anyone know > the magic formula? The value in the database is 't'. = TRUE ='t' etc. > etc. don't work. Those queries are usually of the format: select * from sometable where somefield IS TRUE or simply select * from sometable where somefield