I have 2-3 different column names that I want to look up in the entire DB and list out all tables which have those columns. Any easy script?
More simply done in one line of SQL:
SELECT * FROM information_schema.columns WHERE column_name = 'column_name';