Find Column in All Tables - SQL SERVER

Published on November 2016 | Categories: Documents | Downloads: 34 | Comments: 0 | Views: 273
of 1
Download PDF   Embed   Report

Find Column in All Tables - SQL SERVER

Comments

Content

HOW TO: Get list of all tables where a particular column has been used in SQL Server
#SQLTIPS #SQLQUERY #SQLINTERVIEWQUESTIONS #SQL2005 #SQLSERVER Select Table_Name, Column_Name From Information_Schema.columns Where Column_Name = 'columnnametoearch' HOW to get dependencies of any table or view in SQL: sp_depends table/viewname This will list all the database objects – stored procedures, views, triggers where that table has been used.

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close