trying to pattern match to a value contained in a column

Поиск
Список
Период
Сортировка
От Beth Gatewood
Тема trying to pattern match to a value contained in a column
Дата
Msg-id 3A2FFBB4.7B5156DA@mbt.washington.edu
обсуждение исходный текст
Ответы RE: trying to pattern match to a value contained in a column  ("Francis Solomon" <francis@stellison.co.uk>)
Re: trying to pattern match to a value contained in a column  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-sql
Hi-

I can't figure out how to do this....

I examine a table where I think that one attribute is an abbreviation of
another attribute.

So-If I had a table where I had LONG_NAME and ABBR as attributes.

I want something like

SELECT whatever FROM my_table WHERE long_name LIKE '%[the value of ABBR
in that row]%';


Of course this doesn't work...

Any thoughts?

Thanks-
Beth




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

Предыдущее
От:
Дата:
Сообщение: pltcl problem
Следующее
От: "Francis Solomon"
Дата:
Сообщение: RE: trying to pattern match to a value contained in a column