Want to list all the tables.columns in your mysql DB

SELECT CONCAT(TABLE_NAME,’.’,COLUMN_NAME)
FROM information_schema.COLUMNS
where TABLE_SCHEMA=’foo’
and TABLE_NAME like ‘USER%’

Subscribe to the newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent

From the blog

All writing