DB2 SQL PL: Essential Guide for DB2 UDB on Linux, UNIX, Windows, i5/OS, and z/OS

 

Zamil Janmohamed, Clara Liu, Drew Bradstock, Raul Chong, Michael Gao, Fraser McArthur, Paul Yip

 



   Details

    ISBN: 013147700                              

    Publisher: Prentice Hall PTR

    Format: Hard cover, 550pp                 

    Edition: 2

    Publication Date: November 2004


   How to order

    Ordered online from any major online bookseller, or from the IBM Book Store.

                                                

 

Book description

Using the IBM DB2 SQL Procedural Language (SQL PL), programmers can drive major improvements in database performance, manageability, and time-to-market. Now, IBM's own experts present the definitive guide to DB2 SQL PL development on any platform: Windows, UNIX, Linux, iSeries, or zSeries.

DB2 SQL PL, Second Edition shows developers how to take advantage of every facet of the SQL PL language and development environment. The authors offer up-to-the-minute coverage, best practices, and tips for building basic SQL procedures, writing flow-of-control statements, creating cursors, handling conditions, and much more. Along the way, they illuminate advanced features ranging from stored procedures and triggers to user-defined functions.

The only book to combine practical SQL PL tutorials and a detailed syntax reference, DB2 SQL PL, Second Edition draws on the authors' unparalleled expertise with SQL PL in real business environments. Coverage includes

Whether you're developing new SQL PL applications, migrating or tuning existing applications, or administering DB2, you'll find this book indispensable.

 

Table of contents

 

Chapter 1

Introduction

Chapter 2

Basic SQL Procedure Structure

Chapter 3

Overview of SQL PL Language Elements

Chapter 4

Using Flow of Control Statements

Chapter 5

Understanding and Using Cursors and Result Sets

Chapter 6

Condition Handling

Chapter 7

Working with Dynamic SQL

Chapter 8

Nested SQL Procedures

Chapter 9

User-Defined Functions and Triggers

Chapter 10

Leveraging DB2 Application Development Features

Chapter 11

Deploying SQL Procedures, Functions, and Triggers

Chapter 12

Performance Tuning

Chapter 13

Best Practices

Appendix A

Getting Started with DB2

Appendix B

Inline SQL PL for DB2 UDB for Linux, UNIX, and Windows

Appendix C

Building from the Command Line

Appendix D

Using the DB2 Development Center

Appendix E

Security Considerations in SQL Procedures

Appendix F

DDL

Appendix G

Additional Resources

Appendix H

Sample Application Code

 

 

About the authors

Clara Liu, Fraser McAuthur, Michael Gao, Paul Yip, and Raul Chong are consultants from the Information Management Services at the IBM Toronto Laboratory. They work closely with the IBM DB2 development team and have extensive hands-on experience with the DB2 SQL Procedural Language (SQL PL) through their work with IBM business partners and customers.

Drew Bradstock is an engagement manager with the IBM Data Management Competitive Migrations team. He manages teams that migrate customers' infrastructure and databases to DB2 from other relational databases. He helped develop the DB2 UDB Fundamental and Database Administration Exams.

Zamil Janmohamed is a Websphere Commerce development manager at the IBM Toronto Lab. He manages a team focused on developer productivity and tooling for Websphere Commerce practitioners. He also has an extensive background working with relational databases, not only as it relates to developing applications, but also designing, implementing, and supporting databases.

 

Updates, clarifications, and corrections

None