Link to home
Start Free TrialLog in
Avatar of JOSHUABT
JOSHUABT

asked on

Searching for a keyword in stored procedures of MS SQL 2005

Hello,

I need to find and update certain keywords in all stored procedures of MS SQL 2005 ( Std/Ent ).
Is there a built-in or 3rd party tool to search for keywords?

Thank you for your help
Avatar of Kent Dyer
Kent Dyer
Flag of United States of America image

Nah..  SPROCS are just SQL Tables too..  They are just System tables though..

http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/

HTH,

Kent
SOLUTION
Avatar of cyberkiwi
cyberkiwi
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To replace it though, you need to modify each sproc individually and do a search and replace from SSMS then execute the ALTER PROCEDURE statements.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial