Dedication and Acknowledgments.
DB2 Express Book Web Site.
About This Book.
Who Should Read This Book.
What Is DB2 Express?
What’s Cool about DB2 Express v8.2.
Book Web Site 7
2. Getting Started.
Installing DB2 Express.
DB2 Graphical Tools.
Creating a Database.
DB2 Command Editor.
DB2 Information Center.
Supplemental: Installing DB2 Clients from a Server CD.
3. The L8NITE Database Application.
Late Night Convenience Store Requirements
The Data Model.
The Point-of-Sale Application Interface.
4. Database Objects.
Retrieving Data from the Database.
Altering the Definition of a Table.
5. Visual Basic .NET Application Development.
What Are .NET and ADO.NET?
.NET Support in DB2.
A Tour of DB2 Tools in Visual Studio .NET 2003.
Getting Started with the L8NITE Application.
Adding the DB2 .NET Data Provider Reference.
Establishing a Database Connection.
Displaying Data in the User Interface.
Making Changes to Data in the Database.
Learning More about DataSet, DataTable, and DataRow.
Controlling a Transaction.
Catching Errors with Exception Handlers.
Troubleshooting Using DB2 CLI Tracing.
6. Java Application Development.
JDBC in DB2.
Designing a Java Application.
Building the Application Using JDBC.
Retrieving Data Using SQLJ.
7. Maximizing Concurrency.
DB2’s Concurrency Model.
Improving the User Experience.
8. Working with Functions, Stored Procedures, and Triggers.
The DB2 Development Center.
Supplemental: Creating UDFs, Stored Procedures, and Triggers Using VS.NET.
9. Working with Data.
The LOAD and IMPORT Utilities.
Generating Sample Data.
Generating Large Data Sets Using LOAD FROM CURSOR.
Importing DB2 Data into Spreadsheets.
Creating Reports Using Microsoft Excel.
10. Performance Tuning.
Optimizing Configuration Using the Configuration Advisor.
Analyzing SQL Using Visual Explain.
Optimizing SQL Performance with the Design Advisor.
11. Implementing Security.
Defining the SYSADM Authority.
Authentication and Authorization.
The PUBLIC Group.
Data Communications Encryption.
12. Deploying to Production.
Extracting DDL from the Database.
Important Deployment Considerations.
Supplemental: Implementing Silent DB2 Installation.
13. Automating Maintenance in Production.
Database Operational View.
Database Log Management.
Notification and Contact List.
Automating and Scheduling Maintenance.
Health of the Database.
Supplemental: High Availability and Disaster Recovery.
14. Troubleshooting Tools.
Interpreting Error Codes.
DB2 Defects and Applying FixPaks.
The DB2 Administration Server.
Other Sources of Help.
Appendix A. Development Center.
Installing the DB2 Development Center.
Using the Development Center for the First Time.
Development Center Views.
Customizing the Development Center.
Debugging Stored Procedures.
Working with Projects.
IBM has had great success with DB2 in large corporations. However, the smalland medium sized businesses have been unwilling or unable to invest in theDB2 infrastructure and so Oracle, SQL Server, MySQL and a number of otherdatabase programs have taken these markets. DB2 Express is meant to knockthese out and to give IBM a database configurable in these "smallerenvironments". This book is the ONLY book available on a very new hotproduct that IBM will be marketing EXTENSIVELY.Our book is a concise, straight-forward approach to learning DB2 Express andhow to leverage its tools and autonomic capabilities. It provides expert tips oneverything from developing, tuning, deploying and maintaining applications.It teaches the reader how to avoid common mistakes and develop solid, yetsimple, database maintenance plans.
Paul Yip is a database consultant at IBM Canada. As a member of IBMs Channel and Partner Enablement Team, he works closely with partners, ISVs, and integrators to develop and tune third-party products for DB2. He coauthored DB2 SQL Procedure Language for Linux, UNIX and Windows (Prentice Hall, 2003) with Clara Liu.
Kit Man Cheung, member of IBM's DB2 Tools Development Team, has deep technical insight into DB2 Version 8.2's new GUI tools.
Jason Gartner, member of IBM's DB2 Tools Development Team, has deep technical insight into DB2 Version 8.2's new GUI tools. He is Development Manager for DB2 administration tools.
Clara Liu is a database consultant at the IBM Toronto Lab. She works with a variety of IBM partners and customers on projects utilizing DB2 Universal Database.
Stephen O'Connell, member of IBM's DB2 User-Centered Design Team, has worked on the DB2 Web client and many other IBM-wide DB2 initiatives.