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
 how to globally search a value in a database ?

Author  Topic 

java148
Yak Posting Veteran

63 Posts

Posted - 2011-11-29 : 12:58:12
how to globally search a value ? I know one value is existing in one database, but I am not sure which column and which table . how can I find it out ? I know this is not good practice, but sometime the dirty way is a shortcut .

Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-11-29 : 12:59:56
see

http://beyondrelational.com/blogs/naomi/archive/2010/10/29/how-to-search-a-string-value-in-all-columns-in-the-table-and-in-all-tables-in-the-database.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -