These articles are geared toward beginning users. The DB2 basics series introduces fundamental topics and provides a walk-through of situations often encountered by the first time user.
-
Introduction to DB2 9 database recovery
Learn about the backup and recovery capabilities in IBM DB2 for Linux, UNIX, and Windows. In addition, follow a step-by-step approach to recovering data in various failure scenarios. -
SQL & XQuery tutorial for IBM DB2, Part 7: XQuery
Learn about the XML data type, then jump in and write XQueries to retrieve XML elements, filter data based on XML values, transform XML output, and use various clauses to select data more precisely. (tutorial) -
SQL & XQuery tutorial for IBM DB2, Part 6: Data Definition Language and Data Control Language
Learn more about Data Manipulation Language, and get an introduction to Data Definition Language, Data Control Language, and SQL components and statements beyond SELECT. (tutorial) -
SQL & XQuery tutorial for IBM DB2, Part 5: Data camparison
This tutorial, part 5 in a series, describes queries that compare data in an IBM DB2 database by using either CASE expressions or subqueries. (tutorial) -
SQL & XQuery tutorial for IBM DB2, Part 4: Joins and unions
Learn to write queries that require basic data analysis, including queries containing sequential calculations, or calculations that operate on an ordered set of rows -- queries frequently encountered during business analysis. (tutorial) -
SQL & XQuery tutorial for IBM DB2, Part 3: Joins and unions
Learn two ways to combine data from different tables in a DB2 database: by joining the tables with inner or outer joins and by using the UNION, EXCEPT, and INTERSECT operators. (tutorial) -
SQL & XQuery tutorial for IBM DB2, Part 2: Basic queries
Through a series of simple examples, this tutorial illustrates how to retrieve data from a DB2 database with standard SQL SELECT statements. Learn how to retrieve specific rows and columns from a relational database table, perform logical operations on retrieved data, and use wildcard characters in search conditions. (tutorial) -
SQL & XQuery tutorial for IBM DB2, Part 1: Introduction
The first in a series of tutorials that teach SQL and XQuery basics, this tutorial lays the foundation, introducing the Aroma database that will be used in the series and showing how SQL and XQuery knowledge are used to solve typical business questions. (tutorial) -
DB2 9 Fundamentals 730 exam prep tutorials
Get ready for DB2 9 certification with this introduction to SQL, the basics of creating databases and objects, security, and transaction isolation. -
Understand how authorities and privileges are implemented in DB2 UDB
Confused about how to grant access and administer authority levels and privileges in DB2 UDB? Part 4 in a series on security, this article makes it all clear. -
DB2 Basics: An introduction to materialized query tables
Roman Melnyk takes the mystery out of MQTs, specialized tables that that can significantly improve the performance of complex queries. In addition, he introduces staging tables and summary tables and explains their use and benefits. -
How users and groups interact with DB2 UDB
Need to understand how users and groups authenticate with DB2 UDB, and then how they obtain authorization to perform actions on your database? Our authors make it all clear. -
Introducing DB2 UDB structured data types and typed tables
Learn the basic concepts of structured data types, type hierarchies, and typed tables and explore working examples that will get you up and running. -
DB2 Basics: Introduction to the DB2 UDB SQL administrative routines
The DB2 UDB SQL administrative routines represent an easy-to-use API to DB2 administrative functions through SQL. Working examples show you how to use some of these routines, which can be invoked from a DB2 command line, a command script, or an application containing embedded SQL. -
DB2 Basics: DB2 UDB command line processor
Explore the three modes in which the command line processor operates, get a detailed explanation of the db2 command, and learn about some recent usability enhancements to this handy interface to DB2 UDB functions. Includes info on the Command Editor too. -
Unlock the secrets surrounding the locking behavior of the DB2 UDB data movement utilities
Export, import and load place locks on database resources in order to support various levels of concurrency. This article describes the locking behaviour of these utilities and shows you, through working examples, how to use tools such as the DB2 UDB snapshot monitor to view and acquire a better understanding of this behavior. -
The DB2 UDB Backup Utility: A primer
Understand the latest, newest features of DB2 UDB backup. This article includes the backup process model, details on the various types of both online and offline backup, hints and tips on backing up using Tivoli Storage Manager, and info on self-tuning capabilities, as well as the whys and wherefores of a well-planned backup strategy. -
DB2 Basics: How to get useful information from the DB2 UDB system catalog
This article introduces the DB2 UDB system catalog and shows how this rich repository of database information can be put to good use. -
DB2 Basics: An introduction to the DB2 UDB trace facility
This article introduces the fundamentals of the DB2 UDB trace facility and shows you by way of working examles how to use the db2trc command to capture trace information. -
DB2 Basics: Demystifying table and table space states
DB2 uses table and table space states to control access to data or to help protect the integrity of the database. This article describes these states and shows you, by way of working examples, typical conditions under which they appear, and how to respond to them.
More DB2 basics articles
- DB2 Basics: Exploit file type modifiers that are built into the DB2 data movement utilities
- DB2 Basics: Use DB2 utilities to clone databases across different platforms
- The DB2 Detective Game
- DB2 Basics: Constraints
- DB2 Basics: Creating Your First Trigger in DB2 Universal Database
- DB2 Basics: Table Spaces and Buffer Pools
- DB2 Basics: Fun with Dates and Times
- DB2 Basics: Cloning DB2 Databases Using Redirected Restore
- Getting Started with DB2 for z/OS and OS/390 Version 7 for DB2 Distributed Platform Users
- Getting Started with DB2 V8 and ADO using Visual Basic 6
- More DB2 basics


