Stored Procedures (Database Engine)
A stored procedure in SQL Server is a group of one or more Transact-SQL statements or a reference to a Microsoft .NET Framework common runtime language (CLR) method. Procedures resemble constructs in other programming languages because they can:
-
Accept input parameters and return multiple values in the form of output parameters to the calling program.
-
Contain programming statements that perform operations in the database. These include calling other procedures.
-
Return a status value to a calling program to indicate success or failure (and the reason for failure).
|
Task Description |
Topic |
|
Describes how to create a stored procedure. |
|
|
Describes how to modify a stored procedure. |
|
|
Describes how to delete a stored procedure. |
|
|
Describes how to execute a stored procedure. |
|
|
Describes how to grant permissions on a stored procedure. |
|
|
Describes how to return data from a stored procedure to an application. |
|
|
Describes how to recompile a stored procedure. |
|
|
Describes how to rename a stored procedure. |
|
|
Describes how to view the definition of a stored procedure. |
|
|
Describes how to view the dependencies on a stored procedure. |

Note