Handout 19

Stored Procedures


Overview

Stored procedures (groups of SQL and PL/SQL statements) allow you to move code that enforces business rules from your application to your database. For our purposes in getting started, you are asked to create two relatively simple stored procedures using only SQL. If interested, you may look up details on PL/SQL, which includes procedural constructs (repetition, selection, sequence).

Thoughts on developing your stored procedure: