Guest User

Untitled

a guest
May 27th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. USE MyDatabase
  2. GO
  3.  
  4. SELECT mprod.object_id, oprod.name
  5. FROM sys.sql_modules mprod
  6. LEFT JOIN sys.objects oprod ON mprod.object_id = oprod.object_id
  7. WHERE mprod.definition LIKE '%SearchString%'
Add Comment
Please, Sign In to add comment