Development
How to Create Stored Procedures and Functions
Applied
Create stored procedures and user-defined functions
using any of the features presented in this chapter.
Code CALL statements and scripts that call stored
procedures.
Code SQL statements that use user-defined functions.
Knowledge
Explain why a stored procedure executes faster than
an equivalent SQL script.
Describe the difference between passing parameters
by position and passing them by name.
Describe the basic process for validating data within a
stored procedure or function.
Describe the benefits of using packages for stored
procedures and functions.
HTTP 5105 Database Design and Development 3 November 20, 2104
How to Create and Call a Stored
Procedure
CALL keyword is used followed by the name of the stored procedure and the two
parameter values in this case
The code for the WHEN OTHERS is now output when the
RAISE_APPLICTION_ERROR handler is used