WhereAmI.sql

I’ve written stored procedures in the past where I could remember some of the code they contained, but not the name of the stored procedure. I developed this little stored procedure to help find those elusive stored procedures based on the code in the stored procedure. It searches the sysobjects and syscomments tables to find any occurence of a text string. It sorts the return set by object name. (Supports SQL 2000, SQL 7.0, and possibly SQL 6.5)

Author: Kenneth Cluff

Download Script:
WhereAmI.sql



Disclaimer:
We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…

Disclaimer Continued

Back to Database Journal Home

Get the Free Newsletter!

Subscribe to Cloud Insider for top news, trends & analysis

Latest Articles