equal and like

Поиск
Список
Период
Сортировка
От Schwéger Gábor
Тема equal and like
Дата
Msg-id 2436.89.133.144.132.1228415414.squirrel@webmail.schweger.hu
обсуждение исходный текст
Ответы Re: equal and like
Re: equal and like
Список pgsql-general
Hi List,

This is my first post to this list.
Our database moved to a larger partition.
And now I have a problem with a select query:
db=# SELECT id, login FROM u WHERE login LIKE 'bellamarth';
   id   |    login
--------+-------------
 173002 | bellamarth
(1 row)

db=# SELECT id, login FROM u WHERE login = 'bellamarth';
 id | login
----+-------
(0 rows)

The type of login is text.
What is the problem with the equal sign?
psql server version: 8.2.11

Could you help me?

Gabor



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

Предыдущее
От: "Tony Linden"
Дата:
Сообщение: q query about a bug.
Следующее
От: "Filip Rembiałkowski"
Дата:
Сообщение: Re: psql verbose mode