Stored procedure dependencies in SQL Server Management Studio

前端 未结 5 2081
抹茶落季
抹茶落季 2021-01-14 08:35

I don\'t know much about the MS world, but now it happens to be that I have to use SQL Server Management Studio 2008.

My problem: I have a column in a table, and I n

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-14 09:18

    Use this query:

    SELECT ROUTINE_NAME, ROUTINE_DEFINITION 
    FROM INFORMATION_SCHEMA.ROUTINES 
    WHERE ROUTINE_DEFINITION LIKE '%YOUR COLUMN %' 
    AND ROUTINE_TYPE='PROCEDURE'
    

提交回复
热议问题