Re: Case Insensitive Data Type

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Case Insensitive Data Type
Дата
Msg-id 20020524150022.4701cc2b.nconway@klamath.dyndns.org
обсуждение исходный текст
Ответ на Re: Case Insensitive Data Type  ("Russell Black" <russell.black@iarchives.com>)
Ответы Re: Case Insensitive Data Type  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Fri, 24 May 2002 11:08:34 -0600
"Russell Black" <russell.black@iarchives.com> wrote:
> The EJB container does it for me, and it wants to do a
> SELECT * FROM t1 WHERE f1 = 'whatever';
> Instead of
> SELECT * FROM t1 WHERE lower( f1 ) = 'whatever';

You could have it run the SELECT on a view, where the relevant
column is defined using lower() on the appropriate column
of the real table.

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Efficiency question: VARCHAR with empty string vs NULL
Следующее
От: Gregory Seidman
Дата:
Сообщение: Re: Question on crypt password