![]() |
List all tables containing a given column name
How do a I list all tables containing a given column name?
I found there are several tables have the same field name, called: product_id. Any method to find all tables that contain product_id? |
You can use the INFORMATION_SCHEMA database and the COLUMNS table in particular Example of use:
Code:
SELECT Code:
SELECT |
| All times are GMT +8. The time now is 04:06 AM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.