| title | sys.numbered_procedures (Transact-SQL) | ||||
|---|---|---|---|---|---|
| description | sys.numbered_procedures (Transact-SQL) | ||||
| author | rwestMSFT | ||||
| ms.author | randolphwest | ||||
| ms.date | 03/15/2017 | ||||
| ms.service | sql | ||||
| ms.subservice | system-objects | ||||
| ms.topic | reference | ||||
| f1_keywords |
|
||||
| helpviewer_keywords |
|
||||
| dev_langs |
|
||||
| monikerRange | >=aps-pdw-2016||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current||=fabric |
[!INCLUDE sql-asdbmi-asa-pdw-fabricse-fabricdw]
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.
Important
Numbered procedures are deprecated. 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. |
Note
XML and CLR parameters are not supported for numbered procedures.
[!INCLUDEssCatViewPerm] For more information, see Metadata Visibility Configuration.
Object Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)