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
 search for a column from whole of DB?

Author  Topic 

Crowz
Starting Member

1 Post

Posted - 2006-06-08 : 22:06:51
Hi

is there a query which i can use to find if a column_name exist in any of the tables in the whole Database?

cheers
lyn

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2006-06-08 : 22:14:21
use INFORMATION_SCHEMA.COLUMNS


KH

Go to Top of Page
   

- Advertisement -