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 99D7E3AC479 for ; Tue, 28 Dec 2004 18:15:48 +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 55122-08 for ; Tue, 28 Dec 2004 18:15:20 +0000 (GMT) Received: from mail.tgds.net (tgds.net [212.100.249.157]) by svr1.postgresql.org (Postfix) with ESMTP id A0B413AC5DB for ; Tue, 28 Dec 2004 18:12:19 +0000 (GMT) Received: from hush (localhost [127.0.0.1]) by mail.tgds.net (Postfix) with ESMTP id BB9F714372B; Tue, 28 Dec 2004 18:11:56 +0000 (GMT) Subject: Re: openoffice and boolean From: tony To: Scott Marlowe Cc: pgsql-jdbc@postgresql.org In-Reply-To: <1104256356.28179.2.camel@state.g2switchworks.com> References: <1104254089.3777.4.camel@hush> <1104256356.28179.2.camel@state.g2switchworks.com> Content-Type: text/plain; charset=ISO-8859-15 Date: Tue, 28 Dec 2004 19:12:18 +0100 Message-Id: <1104257538.3777.12.camel@hush> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/204 X-Sequence-Number: 11870 Le mardi 28 décembre 2004 à 11:52 -0600, Scott Marlowe a écrit : > > 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 returns "was expecting - or NULL" > or simply > > select * from sometable where somefield I'll try and write that into the non standard SQL editor of OpenOffice. Thanks Tony