Re: [GENERAL] LIKE (SQL operator)

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [GENERAL] LIKE (SQL operator)
Дата
Msg-id Pine.BSF.3.96.980629232810.6863O-100000@thelab.hub.org
обсуждение исходный текст
Ответ на LIKE (SQL operator)  (Joao Paulo Felix <felix@cyclades.com>)
Список pgsql-general
On Mon, 29 Jun 1998, Joao Paulo Felix wrote:

> Hello there,
>
> I have a table called "products" which has a field named "item" with
> following data stored:
>
> "item"
> PR1000
> PR2000
> PR3000
> PRZE10
> Lze100
> Beta
> Teta
>
> Does PostgreSQL support the SQL operator "LIKE" . I have unsuccessfully
> trying the following SQL query:
>
> (SELECT * FROM products WHERE item LIKE '*PR*')

SELECT * FROM products WHERE item LIKE '%PR%'


Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org


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

Предыдущее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: [GENERAL] LIKE (SQL operator)
Следующее
От: "Rob den Boer"
Дата:
Сообщение: RE: [GENERAL] vacuuming