Viewing a Stored Procedure
Several system stored procedures provide information from the system tables about stored procedures. You can:
- See the Transact-SQL statements used to create a stored procedure. This can be useful if you do not have the Transact-SQL script files used to create the stored procedure.
- Get information about a stored procedure such as its owner, when it was created, and its parameters.
- List the objects used by the specified stored procedure, and the procedures that use the specified stored procedure. This information can be used to identify the procedures affected by the changing or removal of an object in the database.
To view the definition of a stored procedure
To view information about a stored procedure
To view the dependencies of a stored procedure
To view information about an extended stored procedure
See Also
Querying Extended Stored Procedures Installed in SQL Server
(c) 1988-98 Microsoft Corporation. All Rights Reserved.