Introduction
In this chapter, we will look at the different types of functional database objects that can be used to encapsulate business logic at the database server. We will discuss stored procedures and user-defined functions that can be used for better application management and for secure and robust application design. We will also discuss how we can use triggers to enforce business policies seamlessly. This chapter will also include the concept of modules, which was introduced in DB2 9.7.