Skip to content

Andrei Patrascu

Andrei Patrascu Blog

Search in stored procedures

Posted bypandrei October 19, 2012


SELECT OBJECT_NAME(id)
FROM syscomments
WHERE [text] LIKE '%foobar%'
AND OBJECTPROPERTY(id, 'IsProcedure') = 1
GROUP BY OBJECT_NAME(id)

Posted bypandreiOctober 19, 2012Posted inMicrosoftTags: sql server, stored procedure

Post navigation

Previous Post Previous post:
Ubuntu 12.04 setup Apache 2 with RoR 3
Next Post Next post:
Ruby Enterprise Edition

Recent Posts

  • Reinstall Nuget Packages without Updating
  • Inverted text or white text on a black background when printing – Windows 10
  • Use Google Fonts Locally
  • List all Objects and Indexes per Filegroup / Partition
  • Move SQL Server database files to a new folder location

Recent Comments

    Archives

    • September 2020
    • July 2020
    • February 2019
    • April 2015
    • March 2015
    • April 2014
    • March 2014
    • August 2013
    • June 2013
    • May 2013
    • October 2012
    • September 2012
    • March 2012
    • January 2012
    • June 2011
    • April 2011
    • January 2011

    Categories

    • Altele
    • Debian setup
    • Dreamhost Setup
    • Mac
    • Magento
    • Microsoft
    • RoR Development
    • SQL Server
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Andrei Patrascu, Proudly powered by WordPress.