TEXT in selection?

Поиск
Список
Период
Сортировка
От Michael Remme
Тема TEXT in selection?
Дата
Msg-id 9opr2j$1ph2$1@news.tht.net
обсуждение исходный текст
Список pgsql-general
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








В списке pgsql-general по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Second byte of multibyte characters causing trouble
Следующее
От: Frank Joerdens
Дата:
Сообщение: virtual filesystem atop a PostgreSQL database