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.
| Author |
Topic |
|
bogey
Posting Yak Master
166 Posts |
Posted - 2005-08-18 : 10:39:10
|
| I need to search through about 100 stored procs. Can I search using sql instead of scripting all 100 out to a text file?thanks. |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-08-18 : 10:49:54
|
| What information are you searching for?See if this helps youSelect routine_name, routine_definition from information_Schema.routineswhere routine_definition like '%somestring%'MadhivananFailing to plan is Planning to fail |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-08-19 : 00:34:00
|
| Thats cool robI did not know routines return first 4000 characters onlyMadhivananFailing to plan is Planning to fail |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2005-08-19 : 07:45:39
|
| Neither did I until I checked the definition for it. Pretty annoying really, but it's documented that way in BOL. |
 |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
|
|
|