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
 Database Design and Application Architecture
 How to search a word in a server from all the DB

Author  Topic 

ajit502
Starting Member

6 Posts

Posted - 2009-07-03 : 04:39:57
How to search a word in all the database in one server.

Currently i am executing the fillowing script to get the SP name in all the DB.
"select distinct object_name(ID) from syscomments where text like '%serachword%'"


I want a onetime script which will give all the SP name from all the DB

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2009-07-03 : 04:55:55
http://vyaskn.tripod.com/search_all_columns_in_all_tables.htm


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -