Search through stored procs


/ Published in: SQL
Save to your folder(s)

search for text in your stored procedure


Copy this code and paste it in your HTML
  1. SELECT ROUTINE_NAME, ROUTINE_DEFINITION
  2. FROM INFORMATION_SCHEMA.ROUTINES
  3. WHERE ROUTINE_DEFINITION LIKE '%foobar%'
  4. AND ROUTINE_TYPE='PROCEDURE'

URL: http://databases.aspfaq.com/database/how-do-i-find-a-stored-procedure-containing-text.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.