Search column name having specific value in tables in certain database
Is there any way I can search a column having specific value I am trying to find through all tables in a database? For example I have SELECT t.name AS table_name, SCHEMA_NAME(schema_id) AS schema_name, c.name AS column_name FROM sys.tables AS t INNER JOIN sys.columns c ON t.OBJECT_ID = c.OBJECT_ID WHERE c.name LIKE '%VersionID%' ORDER BY schema_name, table_name; Which I found from searching. It gives me the table names that "versionID" column exists, but how can I search to return table names that for example have a value of "35" for that column. Thanks in advance, I apologize, maybe I am not