Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Filter by column name

Author  Topic 

AdamWest
Constraint Violating Yak Guru

360 Posts

Posted - 2012-03-01 : 12:40:02
In SQL Server studio manager you can filter by name if a certain word appears inthe table name. what i need is if certain work is a column in tables. is this doable?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-03-01 : 13:10:39
select TABLE_NAME
from INFORMATION_SCHEMA.COLUMNS
where COLUMN_NAME = 'SomeName'

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

AdamWest
Constraint Violating Yak Guru

360 Posts

Posted - 2012-03-01 : 14:57:36
Thank you Tara!
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-03-01 : 15:50:44


Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -