Documentation for SQL Server Database Engine
Stored procedures are a set of Transact-SQL statements that are compiled and stored on the server. They can be executed by users or applications. Stored procedures offer advantages such as:
You can create a stored procedure using the CREATE PROCEDURE statement.
Stored procedures can be executed using the EXECUTE or EXEC statement.
Or with the short form:
To modify an existing stored procedure, use the ALTER PROCEDURE statement.
Use DROP PROCEDURE to remove a stored procedure from the database.