Re: [INTERFACES] Case insensitive LIKE ?

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [INTERFACES] Case insensitive LIKE ?
Дата
Msg-id 381C37A3.EC9D5D4D@tm.ee
обсуждение исходный текст
Ответ на Case insensitive LIKE ?  (Constantin Teodorescu <teo@flex.ro>)
Список pgsql-interfaces
Constantin Teodorescu wrote:
> 
> I'm writing an application that should work with PostgreSQL server on
> Linux and ODBC-MS Access on Windows.
> 
> I'm using the TclODBC package that works just fine.
> 
> Under Windows, with ODBC->MS Access , the select LIKE 'john%' works case
> insensitive!
> Under Linux with PostgreSQL 6.5.2 , the LIKE clause is case sensitive!
> 
> Is there for PostgreSQL a modifier(parameter) that will make the LIKE
> clause case insensitive ?

Maybe
select * from t where lower(name) like 'john%';

------------
Hannu


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

Предыдущее
От: Constantin Teodorescu
Дата:
Сообщение: Case insensitive LIKE ?
Следующее
От: Constantin Teodorescu
Дата:
Сообщение: Re: [INTERFACES] Case insensitive LIKE ?