Re: Find all instances of a column in the entire database.

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Find all instances of a column in the entire database.
Дата
Msg-id 20080516135651.GA9173@depesz.com
обсуждение исходный текст
Ответ на Find all instances of a column in the entire database.  (Gavin 'Beau' Baumanis <gavinb@eclinic.com.au>)
Ответы Re: Find all instances of a column in the entire database.
Список pgsql-sql
On Fri, May 16, 2008 at 11:51:20PM +1000, Gavin 'Beau' Baumanis wrote:
> I am hoping that you might be able to give me some assistance with the  
> following task!
> I have a database with nearly 200 tables and I need to find all tables  
> that contain a column of myColumnName.

select * from information_schema.columns where column_name = 'myColumnName';

depesz


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

Предыдущее
От: Gavin 'Beau' Baumanis
Дата:
Сообщение: Find all instances of a column in the entire database.
Следующее
От: Gavin 'Beau' Baumanis
Дата:
Сообщение: Re: Find all instances of a column in the entire database.