search column in all tables sql code example
Example 1: search for column name in sql db when i don't know which table it is in
Select * from INFORMATION_SCHEMA.COLUMNS
where COLUMN_NAME LIKE '%MyName%'
Example 2: get all tables with column name sql
Get table containing given field