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
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Searching through stored procedures

Author  Topic 

mondo3
Starting Member

13 Posts

Posted - 2004-10-18 : 12:21:48
Is there a way to search through all stored procedures for some text? or is there a way to convert all stored procedures to a txt file? thanks

dgaylor
Yak Posting Veteran

54 Posts

Posted - 2004-10-18 : 12:45:46
select * from syscomments where text like '%'

you can go under all tasks / generate script, and choose to export the stored procedures to a text file.
Go to Top of Page

mondo3
Starting Member

13 Posts

Posted - 2004-10-18 : 14:58:37
that's exactly what i was looking for...thanks!
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2004-10-18 : 16:27:56
Seems that topic comes up often...

http://weblogs.sqlteam.com/brettk/archive/2004/02/05/841.aspx



Brett

8-)
Go to Top of Page
   

- Advertisement -