SHARE
TWEET

Untitled

a guest Sep 20th, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DECLARE @SearchText     Varchar(100)
  2. SET @SearchText = 'something'
  3. SELECT DISTINCT o.xtype, o.name
  4. FROM syscomments c
  5.       INNER JOIN sysobjects o On c.id = o.id
  6. WHERE c.text like '%' + @SearchText + '%'
  7. ORDER BY o.xtype, o.name
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top