SELECT CONCAT(TABLE_NAME,’.’,COLUMN_NAME)
FROM information_schema.COLUMNS
where TABLE_SCHEMA=’foo’
and TABLE_NAME like ‘USER%’
Want to list all the tables.columns in your mysql DB
by
this post have been formatted by AI
by
this post have been formatted by AI
Leave a Reply