0

I need to fetch names, and if it possible - descriptions, of all system functions of the MSSQL server.

The procedure:

 sp_stored_procedures '%'

returns the list of procedures. But not all procedures. For example, the result list does not contain the procedure 'sp_cursor' and more other.

Is there a way to get the full list of procedures described here, and functions described here by SQL Query?

4

1 回答 1

0

试一试:

SELECT  *
FROM    sys.all_objects
WHERE is_ms_shipped = 1
and type in('p', 'fn', 'x')

要查看所有这些,只需删除最后 2 行,使其变为:

SELECT  *
FROM    sys.all_objects

进一步阅读: sys.all_objects (Transact-SQL)

于 2013-10-11T15:15:16.673 回答