Click here to Skip to main content
Click here to Skip to main content

Tagged as

Find particular word or text from the entire stored procedure

, 22 May 2011
Rate this:
Please Sign up or sign in to vote.
SELECT distinct(OBJECT_NAME(id)) FROM syscomments WHERE text like '%GetEmployee%'
It will find text "GetEmployee" from the entire stored procedure in the database.


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


About the Author

Sunasara Imdadhusen
Software Developer (Senior) Infostretch Ahmedabad-Gujarat
India India
Aspiring for a challenging carrier wherein I can learn, grow, expand and share my existing knowledge in meaningful and coherent way.

sunaSaRa Imdadhusen
  1. 1st Best Asp.Net article of SEP 2010
  2. 2nd Best Asp.Net article of MAY 2011
Read More Articles...
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

GeneralMy vote of 2 PinmemberMember 793464812-Dec-12 3:00 
GeneralRe: My vote of 2 PinpremiumSunasara Imdadhusen22-Apr-14 4:04 
GeneralMy vote of 5 PinmemberSavalia Manoj M7-Nov-12 1:09 
GeneralRe: My vote of 5 PinpremiumSunasara Imdadhusen22-Apr-14 4:04 
GeneralMy 5. I used this in the past. PinmemberCostica U25-Apr-11 22:30 
GeneralRe: This tip is good one however the alternate is much better. A... PinmemberGandalf - The White29-Apr-11 1:11 
GeneralRe: My 5. I used this in the past. PinpremiumSunasara Imdadhusen22-Apr-14 4:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 22 May 2011
Article Copyright 2011 by Sunasara Imdadhusen
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid