Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Re: Can I searc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 11184 of 11291
Post > Topic >>

Re: Can I search for a string in a set of stored procedures?

by Ed Murphy <emurphy42@[EMAIL PROTECTED] > Jun 26, 2008 at 09:26 AM

COHENMARVIN@[EMAIL PROTECTED]
 wrote:

> I found that I'm making an error in my 'case' statements, and now I
> want to go through a database full of many stored procedures to find
> that error in some of them and to fix it.  Is there any way to do a
> search through multiple stored procedures at once?  I don't see one in
> my version of Sql Server Management Studio?

I think this is right (I mostly still work with 2K which uses older
methods):

select o.name
from sys.objects o
  join sys.sql_modules m on o.object_id = m.object_id
where m.definition like '%text%'
 




 3 Posts in Topic:
Can I search for a string in a set of stored procedures?
COHENMARVIN@[EMAIL PROTEC  2008-06-26 08:08:16 
Re: Can I search for a string in a set of stored procedures?
Ed Murphy <emurphy42@[  2008-06-26 09:26:59 
Re: Can I search for a string in a set of stored procedures?
nidaar <nidaar@[EMAIL   2008-06-27 06:31:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 20:14:46 CDT 2008.