In MySQL Workbench, is it possible to search for a specific column name in all the tables?
(Writing the string to look for in the field at the top right does nothing).
Thank you.
In MySQL Workbench, is it possible to search for a specific column name in all the tables? (Writing the string to look for in the field at the top right does nothing). Thank you. |
|||
You can use the
|
|||
|
To expand on @ypercube's answer (He gets a +1), if you do not know which database the table resides, do this:
|
|||
|
INFORMATION_SCHEMA
. – ypercube Jan 22 at 14:36SELECT table_name, column_name, data_type FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema = 'myDatabase' AND column_name LIKE '%name%';
– ypercube Jan 22 at 14:45