Structure of This Book
MySQL Stored Procedure Programming is divided into four major sections:
Part I, Stored Programming Fundamentals
This first part of the book introduces the MySQL stored program language and provides a detailed description of the language structure and usage.
Chapter 1, Introduction to MySQL Stored Programs, asks the fundamental questions: Where did the language come from? What is it good for? What are the main features of the language?
Chapter 2, MySQL Stored Programming Tutorial, is a tutorial that is designed to get you started with the language as quickly as possible; it shows you how to create basic stored programs of each type and provides interactive examples of major language functions.
Chapter 3, Language Fundamentals, describes how to work with variables, literals, operators, and expressions.
Chapter 4, Blocks, Conditional Statements, and Iterative Programming, explains how to implement conditional commands (
IFandCASE) and looping structures.Chapter 5, Using SQL in Stored Programming, discusses how SQL can be used within the language.
Chapter 6, Error Handling, provides the details of how errors can be handled.
Part II, Stored Program Construction
This part of the book describes how you can use the elements described in Part I to build functional and useful stored programs.
Chapter 7, Creating and Maintaining Stored Programs, outlines the statements available for creating and modifying stored programs and provides some advice on how to manage your stored program ...