Click here to Skip to main content
13,095,445 members (62,916 online)
Click here to Skip to main content
Articles » Database » Database » General » Revisions

Tagged as


1 bookmarked
Posted 25 Oct 2011

Find all Stored Procedures having a given text in it

, 25 Oct 2011
SELECT DISTINCT FROM dbo.sysobjects so inner join .dbo.syscomments sc on WHERE so.xtype='P' AND sc.text like '%SearchString%'Much faster!



Compare Revision Minor Date Status Editor
3 - publicly available No 25-Oct-11 1:29 Available Smitha Nishant
2 No 25-Oct-11 0:30 Composing kiran dangar
1 No 24-Oct-11 22:03 Composing Jaume Pascual


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Jaume Pascual
United States United States
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.170813.1 | Last Updated 25 Oct 2011
Article Copyright 2011 by Jaume Pascual
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid