varchar vs. upper(), lower() etc.

Поиск
Список
Период
Сортировка
От Leslie Mikesell
Тема varchar vs. upper(), lower() etc.
Дата
Msg-id 199809151846.NAA19531@Venus.mcs.net
обсуждение исходный текст
Список pgsql-sql
Is there a trick to making upper(), lower(), ~*, etc. work with varchar
fields?  Some things seem to work (select upper(field)), some don't
(where upper(field) = upper(field)), and if I try the obvious casts
to text, I get: ERROR:  function text(varchar) does not exist.
Should I just rebuild my database with text fields?  I had initially
used varchar so indexes would work through ODBC but it looks like that
is working with text now.

  Les Mikesell
   les@mcs.com

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

Предыдущее
От: Howie
Дата:
Сообщение: subscribe pgsql-sql
Следующее
От: Daniel Facciolo Pires
Дата:
Сообщение: Primary and foreign key