Premise: There is a field named ABC in the database in a table, but forget the table is called what name, and the database has hundreds of tables, it is impossible to find a one, so then the demand came
How do I quickly find out which table this field is in?
Reply to discussion (solution)
If your database is in MySQL after 5.0 version can be achieved through the INFORMATION_SCHEMA library:
Use INFORMATION_SCHEMA;
SELECT * from columns where column_name= ' lookup field name ';
If your database is in MySQL after 5.0 version can be achieved through the INFORMATION_SCHEMA library:
Use INFORMATION_SCHEMA;
SELECT * from columns where column_name= ' lookup field name ';
What do you mean by this INFORMATION_SCHEMA library, I use the Visual database software Navicat software, how does this software pull up the library you said?
If your database is in MySQL after 5.0 version can be achieved through the INFORMATION_SCHEMA library:
Use INFORMATION_SCHEMA;
SELECT * from columns where column_name= ' lookup field name ';
What do you mean by this INFORMATION_SCHEMA library, I use the Visual database software Navicat software, how does this software pull up the library you said?
If you have permission, Navicat can see this library directly,
If your database is in MySQL after 5.0 version can be achieved through the INFORMATION_SCHEMA library:
Use INFORMATION_SCHEMA;
SELECT * from columns where column_name= ' lookup field name ';
What do you mean by this INFORMATION_SCHEMA library, I use the Visual database software Navicat software, how does this software pull up the library you said?
If you have permission, Navicat can see this library directly,
I'm local, I'm sure there is, but I didn't find it.
In phpMyAdmin, you can view it directly in SQL.
Install MySQL By default there will be 2 databases
Information_schema
Mysql