filter tables from database
Started by Garry Saddingtonover 15 years ago2 messagesgeneral
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
Re: filter tables from database
On 11 August 2010 15:13, Garry Saddington <garry@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