What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 1637 |  Welcome, Guest!   Register  Login
 Home > Code Snippets > SQL Server > Search a particular text in all the stored procedure. ...
Ndebata

Search a particular text in all the stored procedure.

 Code Snippet posted by: Ndebata | Posted on: 4/26/2011 | Category: SQL Server Codes | Views: 921 | Status: [Member] | Points: 40 | Alert Moderator   


Generate a list of stored procedure names where a particular text is used.

SELECT Name
FROM sys.procedures
WHERE OBJECT_DEFINITION(object_id) LIKE '%SearchText%'

Thanks,
Debata
Found interesting? Add this to:


 Responses

T.saravanan
Posted by: T.saravanan | Posted on: 4/26/2011 | Level: Silver | Status: [Member] [MVP] | Points: 10 | Alert Moderator 

Hi Debata,

Kindly post your code inside the code tag its looking good.

Thanks,
T.Saravanan

>> Write Response - Respond to this post and get points

More codes snippets

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/23/2013 9:36:54 PM