Re: Syntax for wildcard selection

Поиск
Список
Период
Сортировка
От Scott Holmes
Тема Re: Syntax for wildcard selection
Дата
Msg-id 200108160503.WAA02154@scotts.mynetwork.net
обсуждение исходный текст
Ответ на Re: Syntax for wildcard selection  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
The field is, indeed, a char(17) field.  This particular database is actually
a copy of the same schema we use in our Informix applications.  The
definitions for that system were almost completely correct for creating the
PostgreSQL version, thus many fields are defined as char(x).  I shall try
redefining those fields that are of variable length as varchar() and see what
happens.

Thanks...

> The only thing I can think of is that you are using char() fields and the
> like is getting confused by the trailing spaces. Certainly putting wildcards
> anywhere in the string works fine.
>
> What is the data type of your column? text and varchar() wouldn't suffer
> from the above problem.
> --
> Martijn van Oosterhout <kleptog@svana.org>


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

Предыдущее
От: "mike"
Дата:
Сообщение: GUI Application mode
Следующее
От: bend@ITstuff.net (John Bend)
Дата:
Сообщение: Re: Cant compile using stock RH71 and libpq++