This chapter describes the Stored Procedure Language (SPL). SPL is a highly productive, procedural programming language for writing custom procedures, functions, triggers, and packages for Advanced Server that provides:
• a single, common language to create stored procedures, functions, triggers, and packages for the Advanced Server databaseThis chapter describes the basic elements of an SPL program, before providing an overview of the organization of an SPL program and how it is used to create a procedure or a function. Triggers, while still utilizing SPL, are sufficiently different to warrant a separate discussion (see for information about triggers). Packages are discussed in .The remaining sections of this chapter delve into the details of the SPL language and provide examples of its application.