On 11 August 2010 15:13, Garry Saddington <ga...@schoolteachers.co.uk> wrote:
> I can retrieve the table names in my database, but I would like to filter
> them based on the name of a field. Is this possible?
> Thanks
> Garry
>
> --

Hi Garry,

You can do this:

SELECT table_name
FROM information_schema.columns
WHERE column_name = 'put_column_name_here'

Regards

Thom Brown
Registered Linux user: #516935

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to