Retrieving a filtered list of stored procedures using t-sql

后端 未结 3 1025
我在风中等你
我在风中等你 2021-02-18 22:26

I\'m trying to get a list of stored procedures in t-sql. I am using the line:

exec sys.sp_stored_procedures;

I would like to filter the result

3条回答
  •  無奈伤痛
    2021-02-18 23:15

    SELECT [Routine_Name]
    FROM   [INFORMATION_SCHEMA].[ROUTINES]
    WHERE  [ROUTINE_TYPE] = 'PROCEDURE'
    

提交回复
热议问题