Re: How can I select all of the tables with field name 'area'?

Поиск
Список
Период
Сортировка
От G. Anthony Reina
Тема Re: How can I select all of the tables with field name 'area'?
Дата
Msg-id 39BD7A13.82079EF3@nsi.edu
обсуждение исходный текст
Ответ на Re: How can I select all of the tables with field name 'area'?  ("Darrin Ladd" <dladd@newfoundcomm.net>)
Список pgsql-sql
Thanks Darrin and Stuart.

-Tony




Darrin Ladd wrote:

> Here's what you are looking for:
>
> SELECT pg_class.relname
> FROM pg_class, pg_attribute
> WHERE pg_attribute.attname = 'area'
> AND pg_attribute.attrelid = pg_class.oid;
>
> This should give you all of the classes (tables) which have the attribute
> (field) 'area'.
>
>



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

Предыдущее
От: Hector Banda
Дата:
Сообщение: This is A test Please Delete
Следующее
От: Max Pyziur
Дата:
Сообщение: Re: Re: [BUGS] "ORDER BY" issue - is this a bug?