Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8P9Xwh60889 for ; Tue, 25 Sep 2001 05:33:58 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f8P9OIW57409 for pgsql-sql@postgresql.org; Tue, 25 Sep 2001 05:24:18 -0400 (EDT) (envelope-from news) From: "Michael Remme" X-Newsgroups: comp.databases.postgresql.sql Subject: TEXT in select Date: Tue, 25 Sep 2001 11:25:09 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 25 Message-ID: <9opig1$1o1u$1@news.tht.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-sql@postgresql.org X-Archive-Number: 200109/258 X-Sequence-Number: 4940 Hi, does anybody know a way, how to implement the content of a field of type TEXT into a query? if i am trying: select * from testtable WHERE testTEXT LIKE '%testString%' i am getting always an empty selection, although there is a record existing. The same with select * from testtable WHERE position ('testString' in testTEXT) > 0; Additional, is there a way to use the UPPER()-function to the content of the TEXT-field? Thanks in advance, Michael