Re: Getting all tables which contains a specific column name - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: Getting all tables which contains a specific column name
Date
Msg-id 20090422065959.GB9695@a-kretschmer.de
Whole thread Raw
In response to Getting all tables which contains a specific column name  ("Ridvan Lakas ng Bayan S. Baluyos" <ridvan@baluyos.net>)
List pgsql-novice
In response to Ridvan Lakas ng Bayan S. Baluyos :
> Hi list,
>
> How do I get all the tables which contains a specific column name? For example,
> I want to get all tables that has an `is_active` column in them?

select table_schema, table_name from information_schema.columns where
column_name = 'is_active';


Regards, Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-novice by date:

Previous
From: "Ridvan Lakas ng Bayan S. Baluyos"
Date:
Subject: Getting all tables which contains a specific column name
Next
From: "Ridvan Lakas ng Bayan S. Baluyos"
Date:
Subject: Re: Getting all tables which contains a specific column name