Re: Select Command

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Select Command
Дата
Msg-id 200710211508.04048.aklaver@comcast.net
обсуждение исходный текст
Ответ на Select Command  (Bob Pawley <rjpawley@shaw.ca>)
Ответы Re: Select Command  (Richard Broersma Jr <rabroersma@yahoo.com>)
Список pgsql-general
On Sunday 21 October 2007 2:32 pm, Bob Pawley wrote:
> I have a column with data structured as follows.
>
> 32TT - 0002
> 32LT- 0004
> 32PT-0005
>
> Is there a way of selecting all of the rows containing LT in that column??
>
>
> I have attempted variations of ' *LT* ' with out success.
>
> Bob Pawley

select col where col LIKE '%LT%';

See also:
http://www.postgresql.org/docs/8.2/interactive/functions-matching.html#FUNCTIONS-LIKE
--
Adrian Klaver
aklaver@comcast.net

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

Предыдущее
От: andy
Дата:
Сообщение: Re: SQL spec/implementation question: UPDATE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQL spec/implementation question: UPDATE