/ Published in: MySQL
How to find a given column in a given database in MySQL
Expand |
Embed | Plain Text
SELECT DISTINCT TABLE_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME LIKE '%column_name%' AND TABLE_SCHEMA = 'database_name'
You need to login to post a comment.
