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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Loop through tables and columns

Author  Topic 

youngster
Starting Member

10 Posts

Posted - 2007-11-22 : 04:40:46
Hi!

I have this database with many tables (too many in order to do this manually) and looking for a certain value. I'm not sure in what tables (probably in more than one) and columns it could be found, hence I want a list on table.column where this value appear. Can this be done?

snSQL
Master Smack Fu Yak Hacker

1837 Posts

Posted - 2007-11-22 : 15:28:53
Take a look here
http://vyaskn.tripod.com/search_all_columns_in_all_tables.htm
Go to Top of Page
   

- Advertisement -