IBM Books

Call Level Interface Guide and Reference


Using Stored Procedures

An application can be designed to run in two parts, one on the client and the other on the server. The stored procedure is the part that runs at the database within the same transaction as the application. Stored procedures can be written in either embedded SQL or using the DB2 CLI functions (see "Writing a Stored Procedure in CLI"). In general, stored procedures have the following advantages:

In addition, stored procedures written in embedded static SQL have the following advantages:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]