TEXT in select

From: "Michael Remme" <remme(at)java-beans(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: TEXT in select
Date: 2001-09-25 09:25:09
Message-ID: 9opig1$1o1u$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message srinivas 2001-09-25 11:35:39 how can i return multiple values from a function
Previous Message Domingo Alvarez Duarte 2001-09-25 08:34:03 A bug in triggers PG 7.1.3 or misunderstand ?