Problems with operator '%' within a select

Поиск
Список
Период
Сортировка
Искать
От
Gabriel Fernandez
Тема
Problems with operator '%' within a select
Дата
Msg-id
3885CBCE.E29A42CB@unica.edu
Список
Дерево обсуждения
Problems with operator '%' within a select Gabriel Fernandez <gabi@unica.edu>
RE: [GENERAL] Problems with operator '%' within a select "Sean Carmody" <sean@categoricalsolutions.com.au>
Hi !

I've just had some problems using the operator '%' within a select.
This is an example:

"select codigo from codis where codigo like '%3'  "

And i've found that all the rows which contains more than one three
won't be selected.
(For example: values 'a34ree3', '34fg3')

It seems as if you put only one character with '%' it will select only
the rows wich contain only one time this character.

Am I wrong ?

Gabi :-)


В списке pgsql-general по дате отправления
От: Nikolay Mijaylov
Дата:
Сообщение: Re: [SQL] Bug in CEIL?
От: Luis Bezerra
Дата:
Сообщение: (no subject)
FAQ