SQL/400 Developer's Guide / Edition 2

SQL/400 Developer's Guide / Edition 2

by Paul Conte, Mike Cravitz
     
 

SQL/400 Developer's Guide provides start-to-finish coverage of SQL/400, IBM's strategic language for the AS/400's integrated database. This essential text provides comprehensive explanations and numerous examples to help you: Create new databases, tables, views, and indexes with SQL/400. Define primary key, unique, foreign key, and check constraints to enforce data… See more details below

Overview

SQL/400 Developer's Guide provides start-to-finish coverage of SQL/400, IBM's strategic language for the AS/400's integrated database. This essential text provides comprehensive explanations and numerous examples to help you: Create new databases, tables, views, and indexes with SQL/400. Define primary key, unique, foreign key, and check constraints to enforce data integrity. Master the Select, Update, Insert, and Delete statements from an introductory level to complex queries and transactions. Use advanced SQL features such as user-defined data types, user-defined functions, and stored procedures to speed application development. Protect transaction integrity using DB2 UDB/400 commitment control. Exploit SQL/400 extensions to increase database performance. Implement applications following "best practices" for efficiency and maintainability. Code easy-to-maintain trigger programs. Enforce tight, but flexible, security to protect data. Use Distributed Relational Database Architecture to retrieve and update data on distributed AS/400s. Model and design databases using entity relationship diagrams. With this book, you'll be able to design and create professional-level databases for production applications. Paul Conte and Mike Cravitz are leading DB2 UDB/400 authorities with extensive application development experience. They've joined forces to create a book that will help new, as well as experienced, AS/400 developers design and code with speed and confidence. Along with in-depth instruction and advice on implementation, the book includes an excellent introduction to practical database design techniques. You get a clear explanation of the relational database model, which underlies the whole DB2 UDB/400 architecture and the SQL language. On that foundation, the book explains a step-by-step method of modeling an organization's database requirements and developing a design for the necessary database tables and views. This text is designed for professional application developers and college-level students who want to become developers. All the essential SQL/400 and related DB2 UDB/400 topics are covered from an introductory to an advanced level. Each chapter has numerous examples and exercises, including two complete RPG IV and ILE COBOL/400 sample programs that illustrate all the major programming techniques necessary for a production SQL/400 application. Extensive appendices provide quick references on SQL/400 statements and database-related Command Language commands. You'll find SQL/400 Developer's Guide immediately useful, whether you're just beginning to learn SQL/400 or you're an experienced developer. And you'll turn to this book time and time again for quick answers to the best way to design and program AS/400 database applications.

From the Authors: Structured Query Language/400 is IBM's strategic language for defining and manipulating DB2 UDB for AS/400 databases. IBM has recently stated that the proprietary Data Description Specifications and built-in RPG and COBOL I/O extensions are not being enhanced to support new database features. That means if you plan to take full advantage of the AS/400 integrated database, you need to know SQL. And, if you plan to use Java, you need to know SQL because JDBC (Java Database Connectivity) uses SQL to access the AS/400 database. Finally, if you plan to keep your application programming skills current, you need to know SQL because it's the database language used on all major platforms. This book provides a comprehensive explanation of SQL/400 to students and practicing programmers. Once you master the topics covered in SQL/400 Developer's Guide, you'll be able to design and create professional level databases for real applications. This book also provides developers with extensive advice on database design, as well as programming. We cover SQL data definition language (DDL) and data manipulation (DML) in detail. But we go beyond that to explain essential areas such as security, transaction integrity (commitment control), object and row locking, stored procedures, and trigger programs. The book includes numerous examples, tables, appendices, and detailed technical explanations so in most cases, you won't need any AS/400 manual to create, manage, and use UDB/400 tables and other objects. This edition is based on Version 4 Release 5 of UDB/400, RPG IV, and ILE COBOL/400. This is an ideal book for programmers coming from other database platforms, such as Oracle, Microsoft's SQL Server 2000, or other versions of DB2 UDB (e.g., on IBM mainframes). If that's your situation, you should be able to blast through most of the chapters and get a very rapid start with UDB/400.

Read More

Product Details

ISBN-13:
9781882419708
Publisher:
29th Street Press/NEWS/400 Books
Publication date:
11/01/2000
Edition description:
PENTON TECHNOLOGY MEDIA
Pages:
508
Product dimensions:
8.20(w) x 10.00(h) x 1.20(d)

Table of Contents

Preface
Chapter 1 Introduction to UDB/400, the AS/400's Integrated Database
Chapter 2 Introduction to SQL on the AS/400
Chapter 3 Collections, Tables, and Indexes
Chapter 4 Database Constraints
Chapter 5 Select Statement Basics
Chapter 6 Views
Chapter 7 Insert, Update, and Delete Statements
Chapter 8 Advanced DML Statement Features
Chapter 9 Database Security and the Grant and Revoke Statements
Chapter 10 Static and Dynamic Embedded Statements
Chapter 11 SQL Cursors
Chapter 12 The Create SQL Program Commands
Chapter 13 Additional SQL/400 Programming Techniques
Chapter 14 Creating an RPG IV Program to Update the Customer Table
Chapter 15 Creating a Cobol Program to Update the Customer Table
Chapter 16 Additional Database Topics
Chapter 17 Introduction to Data Modeling and Database Design
Chapter 18 The Relational Database Model
Chapter 19 Logical Data Modeling
Chapter 20 Entity Relationship Diagramming
Chapter 21 Physical Database Design
Appendix A SQL/400 Statement Syntax
Appendix B CL Command Descriptions for SQL and Related Objects
Appendix C Using Programming Development Manager (PDM)
Appendix D Using Source Entry Utility (SEU)
Appendix E Annotated Bibliography
Glossary
Index

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >