Re: Get all table names that have a specific column

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Get all table names that have a specific column
Дата
Msg-id 20050930153004.GB16263@webserv.wug-glas.de
обсуждение исходный текст
Ответ на Get all table names that have a specific column  (Emi Lu <emilu@cs.concordia.ca>)
Список pgsql-general
am  30.09.2005, um 10:55:44 -0400 mailte Emi Lu folgendes:
> Greetings,
>
> I am not very familiar with the system views/tables in postgreSQL. I'd like
> to get all table names that have a column let's say named "col1".

select table_name from information_schema.columns where column_name = 'col1';


Regards, Andreas
--
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    ===

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

Предыдущее
От: Emi Lu
Дата:
Сообщение: Get all table names that have a specific column
Следующее
От: "William ZHANG"
Дата:
Сообщение: Re: Get all table names that have a specific column