Export (0) Print
Expand All
Expand Minimize

sys.numbered_procedures (Transact-SQL)

Contains a row for each SQL Server stored procedure that was created as a numbered procedure. This does not show a row for the base (number = 1) stored procedure. Entries for the base stored procedures can be found in views such as sys.objects and sys.procedures.

ms179865.note(en-US,SQL.90).gifImportant:
Numbered procedures are deprecated in SQL Server 2005. Use of numbered procedures is discouraged. A DEPRECATION_ANNOUNCEMENT event is fired when a query that uses this catalog view is compiled.

Column name Data type Description

object_id

int

ID of the object of the stored procedure.

procedure_number

smallint

Number of this procedure within the object, 2 or greater.

definition

nvarchar(max)

The SQL Server text that defines this procedure.

NULL = encrypted.

ms179865.note(en-US,SQL.90).gifNote:
XML and CLR parameters are not supported for numbered procedures.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft