Scary post, T-SQL finding table, schema and column where column value is X
This is a scary T-SQL post with some ugly code and unfriendly variables as the result of a quick hack to answer a StackOverflow question [http://stackoverflow.com/questions/13761768/how-to-find-column-and-table-name-using-columns-value-in-sql-server/13763701#13763701] : > In T-SQL, if just know…
![Daniel Wertheim](/content/images/size/w50/2018/11/me.jpg)