Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a tool that would look through a group of stored procedures for source code keywords?

A client has a lot of business logic coded into their database and I need to find where it is using certain strings of text? I.E. what procedure contains 'was applied to their balance', so I can refactor that out into business logic. Does anyone know of such a tool? Perhaps something from Red-Gate?

share|improve this question

Similar question has been answered earlier. You wouldn't need a 'tool' to search for text in the DB objects. A simple SQL script would suffice. Check this out for details:

http://stackoverflow.com/questions/674623/how-to-find-a-text-inside-sql-server-procedures-triggers

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .