Sys.Procedures in SQL Server

The subset of sys.objects with the object types = P, X, RF, and PC can be found in the object catalog view sys.procedures.

P = SQL Stored Procedure
X = Extended stored procedure
RF = Replication-filter-procedure
PC = Assembly (CLR) stored-procedure

In other words, the columns of this view (sys.procedures) inherit from sys.objects.

By executing the following statement you can obtain a list of all user-defined stored procedures along with their creation and modification dates and times.

Statement:

SELECT
name,
type_desc,
create_date,
modify_date
FROM
sys.procedures

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s