September 14, 2013 at 2:17 am
I want to find the table name where there is a column 'WS_ID' .
Can you please tell me how do find this table name ?
September 14, 2013 at 3:07 am
SELECT object_name(object_id)
FROM sys.columns
WHERE name = 'WS_ID'
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 14, 2013 at 3:55 am
And, there's a free tool from Red Gate Software called SQL Search[/url] that can help with this kind of thing.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply