O'Reilly logo

Microsoft® SQL Server™ 2000 Programming by Example by Carlos Eduardo Rojas, Fernando G. Guerrero

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Implementing Business Logic: Programming Stored Procedures

A stored procedure is a database object that comprises one or more Transact-SQL statements. The main difference between a stored procedure and a set of statements is that a stored procedure can be reused just by calling its name. Therefore, if you want to rerun the code, you don't have to execute the whole set of statements that compose the stored procedure one by one.

As a database developer, you will spend most of your time coding, fixing, and optimizing stored procedures because they can be used for thousands of purposes. Not only can they be used to encapsulate business logic for your applications, they also can be used for administrative purposes inside SQL Server.

This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required