Re: is there a refactor

Поиск
Список
Период
Сортировка
От John Fabiani
Тема Re: is there a refactor
Дата
Msg-id 201104050758.48874.johnf@jfcomputer.com
обсуждение исходный текст
Ответ на Re: is there a refactor  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-sql
On Tuesday, April 05, 2011 07:44:51 am Adrian Klaver wrote:
> On Tuesday, April 05, 2011 7:27:24 am John Fabiani wrote:
> > Hi,
> > I would like to have a simple way to retrieve information for a field
> > name. By that I mean have some SQL select that will return all the
> > tables a field name exist within a database.  I did not find anything
> > with google but of course google depends on the search string.
> > 
> > Thanks in advance,
> > Johnf
> 
> test(5432)aklaver=>SELECT table_name from information_schema.columns  where
> column_name = 'id';
>    table_name

Wow that was quick - thanks to all!

Johnf


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

Предыдущее
От: Peter Steinheuser
Дата:
Сообщение: Re: is there a refactor
Следующее
От: msi77
Дата:
Сообщение: Re: Aggregates puzzle