Re: How to find a column name

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: How to find a column name
Дата
Msg-id 200409181614.56806.peter_e@gmx.net
обсуждение исходный текст
Ответ на How to find a column name  (lrnr <ns@nospam.com>)
Список pgsql-general
lrnr wrote:
> For example, I want to find all columns that have a name containing
> the string 'USER', in any table. How can I do this?

SELECT * FROM information_schema.columns WHERE column_name LIKE
'%USER%';

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Edmund Bacon
Дата:
Сообщение: Re: Default value if query returns 0 rows?
Следующее
От: Tim Penhey
Дата:
Сообщение: pg_restore peculiarities