equal and like

Поиск
Список
Период
Сортировка
Искать
От
Schwéger Gábor
Тема
equal and like
Дата
Msg-id
2436.89.133.144.132.1228415414.squirrel@webmail.schweger.hu
Список
Дерево обсуждения
equal and like Schwéger Gábor <gabor@schweger.hu>
Re: equal and like Bill Moran <wmoran@collaborativefusion.com>
Re: equal and like Schwéger Gábor <gabor@schweger.hu>
Re: equal and like Quan Zongliang <quanzongliang@gmail.com>
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
FAQ