65.9K
CodeProject is changing. Read more.
Home

Find particular word or text from the entire stored procedure

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.22/5 (9 votes)

Apr 20, 2011

CPOL
viewsIcon

42730

SELECT distinct(OBJECT_NAME(id)) FROM syscomments WHERE text like '%GetEmployee%'
It will find text "GetEmployee" from the entire stored procedure in the database. Thanks, Imdadhusen