Re: Postgres case insensitive searches

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Postgres case insensitive searches
Дата
Msg-id 51CE44FA.5040905@hogranch.com
обсуждение исходный текст
Ответ на Re: Postgres case insensitive searches  (bhanu udaya <udayabhanu1984@hotmail.com>)
Список pgsql-general
On 6/28/2013 6:59 PM, bhanu udaya wrote:
> select * from table where type like 'ab%'. It should get all above 3
> records.  Is there a way the database itself can be made
> case-insensitive with UTF8 characterset. I tried with character type &
> collation POSIX, but it did not really help.

use ILIKE



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: bhanu udaya
Дата:
Сообщение: Re: Postgres case insensitive searches
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Cleaning up a text import