Thursday, March 1, 2018

Find Stored Procedure that Inserts Into a Specific Table

SELECT O.NAME
FROM   sysobjects O
       JOIN syscomments C
         ON O.id = C.id
WHERE  C.text LIKE '%insert into%user_log%' 

No comments:

Post a Comment