Question indicated in the title.
http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/
USE AdventureWorks GO 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 '%EmployeeID%' ORDER BY schema_name ,table_name;
Source: https://habr.com/ru/post/1276462/More articles:Lightweight rich text XML format? - standardsWhat's the best way to display rounded video in Silverlight? - silverlightFind and replace with unique - xmlVisual Studio 2008 debugging issue - debuggingNHIbernate: difference between Restriction.In and Restriction.InG - c #Preventing XML Serialization of IEnumerable and ICollection and Inherited Types - inheritanceHow to respond to an alternate URI in a RESTful web service - language-agnosticHow to efficiently archive old parts of a large (multi-GB) SQL Server database? - sqlWhen do you stop testing? - metricsGetting Started with Ruby Development - ruby | fooobar.comAll Articles