searching mysql for a columnname

SELECT table_name,column_name
FROMĀ  information_schema.COLUMNS
WHERE table_schema = ‘your database here’
and column_name = ‘your columname here’

Leave a Comment