I have a column (PRC_1) that I want to find in which views it appears. I was able to find where that specific column existed within my tables by running the following:SELECT t.name AS table_name,SCHEMA_NAME(schema_id) AS schema_name,c.name AS column_nameFROM sys.tables AS tINNER JOIN sys.columns c ON t.OBJECT_ID = c.OBJECT_IDWHERE c.name LIKE 'prc_1'ORDER BY schema_name, table_name;
But I also want to see it for me views as well. Any suggestions?