Re: is there a refactor

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: is there a refactor
Дата
Msg-id 201104050744.52471.adrian.klaver@gmail.com
обсуждение исходный текст
Ответ на is there a refactor  (John Fabiani <johnf@jfcomputer.com>)
Ответы Re: is there a refactor
Re: is there a refactor
Список pgsql-sql
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   

----------------user_testtable2table1hoursjedit_testtopicst2stoneserial_testmessagesbinary_testuser_testtimestamp_testrole_tpy_testmoney_testlock_testlocal_1lang_testinterval_testfoobfooafldlengthfk_1default_testcsv_nullcheck_twocheck_testarray_test
(29 rows)

-- 
Adrian Klaver
adrian.klaver@gmail.com


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

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