I know that in a sql database stored proc, there is a misspelt (therefore non existant)sq object. What would be the best way to search the body of every stored proc in the database for this string?
This would be the equivalent of find all references in visual studio so very useful.
Server is sql server 2005.
Many Thanks
use this:
it will search in stored procedures, functions and views for your “whatever” string.
Here is the simplest version (eliminates the object type from the results):