Query to list all stored procedures

后端 未结 23 1557
暖寄归人
暖寄归人 2020-11-28 17:18

What query can return the names of all the stored procedures in a SQL Server database

If the query could exclude system stored procedures, that would be even more he

23条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-28 18:01

    If you are using SQL Server 2005 the following will work:

    select *
      from sys.procedures
     where is_ms_shipped = 0
    

提交回复
热议问题