SyntaxFix
Write A Post
Hire A Developer
Questions
To get all tables with columns columnA or ColumnB in the database YourDatabase:
columnA
ColumnB
YourDatabase
SELECT DISTINCT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME IN ('columnA','ColumnB') AND TABLE_SCHEMA='YourDatabase';