Last Updated: February 25, 2016
·
906
· scichelli

Find SQL Server tables containing a given column name

Source: http://stackoverflow.com/a/4849704

SELECT COLUMN_NAME, TABLE_NAME 
FROM INFORMATION_SCHEMA.COLUMNS 
WHERE COLUMN_NAME LIKE '%MyName%'