Re: case insensitive search

Поиск
Список
Период
Сортировка
От Mitch Vincent
Тема Re: case insensitive search
Дата
Msg-id 012e01bfe527$61736160$0300000a@doot.org
обсуждение исходный текст
Ответ на case insensitive search  (Joern Muehlencord <jomu@uni-paderborn.de>)
Список pgsql-sql
SELECT whatever FROM wherever WHERE lower(yourfield) = 'this';

You can do it with a case inseneitive regex search but they can't use
indexes and can become very slow on large tables..

SELECT whatever FROM wherever WHERE yourfield ~* 'this';
lower() does leak a bit of memory from what I've heard on the list but I'm
sure someone is working on it..

-Mitch

----- Original Message -----
From: Joern Muehlencord <jomu@uni-paderborn.de>
To: gpsql-sql <pgsql-sql@postgresql.org>
Sent: Monday, June 26, 2000 2:14 PM
Subject: [SQL] case insensitive search


> Hello together,
>
> how can I handle case insensitive search in a table?
>
>
>
> --
> Linux is like wigwam - no windows, no gates, apache inside.
> In diesem Sinne
>   Joern
>
>
>



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

Предыдущее
От: "Andrey"
Дата:
Сообщение: maintain number in variable
Следующее
От: Antti Linno
Дата:
Сообщение: LEFT JOIN