In this post, we want to discuss all tables containing columns with the specified names in SQL Server. Before we get started, if you want to know the necessity of Store Procedure, please go through the following article: Why do we need use Stored Procedure?

Say the column name is “MyColumnName”. The SQL is as bellow

For searching in Tables and View in the same DB

all tables containing column sql server

Leave a Comment

1 Comment