Re: uppercase = lowercase

Поиск
Список
Период
Сортировка
От Ken Guest
Тема Re: uppercase = lowercase
Дата
Msg-id 3E4CD101.6080906@stockbyte.com
обсуждение исходный текст
Ответ на Re: uppercase = lowercase  (Richard Huxton <dev@archonet.com>)
Ответы Re: uppercase = lowercase
Re: uppercase = lowercase
Список pgsql-general
Richard Huxton wrote:

>On Friday 14 Feb 2003 8:51 am, jose antonio leo wrote:
>
>
>>Hi!!
>>
>>How can I make selects not sensitive uppercase and lowercase characters?
>>This is possible modifying something of psql configuration?
>>
>>
>
>This isn't possible in a general way. If you want "Richard","RICHARD" and
>"riCHard" to all test the same you'll need to do something like.
>
>SELECT * FROM people WHERE lower(first_name)='richard';
>
>You can create an index on lower(first_name) if you need to speed things
>along.
>


I thought you could only create indices on fields - not on the results
of operations on those fields.
Is it truly possible to create an index on lets say upper(last_name)?

k.


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

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

Предыдущее
От: Andreas Rust
Дата:
Сообщение: Postgres Databases growing without much reason
Следующее
От: Tony Grant
Дата:
Сообщение: Re: Postgres Databases growing without much reason