Stored Procedures and Functions
Apress eBooks · 2008
Now that you know how to build queries of single executable lines of T-SQL code, it is time to look at how to place these into a stored procedure or a function within SQL Server, allowing them to be run as often as they are required.