How can I search an entire MS SQL 2005 DB for a value? For example 'ABC12345'.

Thanks.

link|improve this question

feedback

2 Answers

You query INFORMATION_SCHEMA.TABLES for all the tables then query each table.

See http://stackoverflow.com/questions/593746/sql-to-search-the-entire-ms-sql-2000-database-for-a-value for details.

JR

link|improve this answer
Thanks. That would work. I have also found SMMS Tools which is easier. – Techboy Jul 26 '09 at 12:35
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.