<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Find sp or table name in all stored procs'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sun, 19 Apr 2026 08:46:17 +0000</lastBuildDate>
    <item>
      <title>hairajeshk said on 08/Dec/2010</title>
      <link>https://snipplr.com/view/43820/find-sp-or-table-name-in-all-stored-procs</link>
      <description>&lt;p&gt;How can I find if particular table is being used in the stored procedure?&#13;
How to search in stored procedures?&#13;
--Searching for Empoloyee table&#13;
SELECT Name&#13;
FROM sys.procedures&#13;
WHERE OBJECT_DEFINITION(OBJECT_ID) LIKE '%Employee%'&#13;
GO&#13;
--Searching for Empoloyee table and RateChangeDate column together&#13;
SELECT Name&#13;
FROM sys.procedures&#13;
WHERE OBJECT_DEFINITION(OBJECT_ID) LIKE '%Employee%'&#13;
AND OBJECT_DEFINITION(OBJECT_ID) LIKE '%RateChangeDate%'&#13;
GO&lt;/p&gt;</description>
      <pubDate>Wed, 08 Dec 2010 16:45:58 UTC</pubDate>
      <guid>https://snipplr.com/view/43820/find-sp-or-table-name-in-all-stored-procs</guid>
    </item>
  </channel>
</rss>
