Book Image

IBM Db2 11.1 Certification Guide

By : Robert (Kent) Collins, Mohankumar Saraswatipura
Book Image

IBM Db2 11.1 Certification Guide

By: Robert (Kent) Collins, Mohankumar Saraswatipura

Overview of this book

IBM Db2 is a relational database management system (RDBMS) that helps you store, analyze, and retrieve data efficiently. This comprehensive book is designed to help you master all aspects of IBM Db2 database administration and prepare you to take and pass IBM's Certification Exams C2090-600. Building on years of extensive experience, the authors take you through all areas covered by the test. The book delves deep into each certification topic: Db2 server management, physical design, business rules implementation, activity monitoring, utilities, high availability, and security. IBM Db2 11.1 Certification Guide provides you with more than 150 practice questions and answers, simulating real certification examination questions. Each chapter includes an extensive set of practice questions along with carefully explained answers. This book will not just prepare you for the C2090-600 exam but also help you troubleshoot day-to-day database administration challenges.
Table of Contents (10 chapters)

A word about the db2look tool command

The db2look tool command generates the data definition language statements for a specific object type. This can be used to reproduce the database objects into another database, for example copying a production database schema into a test system. The basic command syntax is this:

 db2look -d [DBName] [-e] [-z SchemaName] [-t TableNames] [-v ViewNames]

If you want to extract a definition of a database, you can run the following command:

    db2look -d sample -createdb
    -- No userid was specified, db2look tries to use Environment variable USER
    -- USER is: DB2INST1
    -- This CLP file was created using DB2LOOK Version "11.1"
    -- Timestamp: Wed 23 May 2018 04:38:15 AM EDT
    -- Database Name: SAMPLE
    -- Database Manager Version: DB2/LINUXX8664 Version 11.1.3.3
    -- Database Codepage: 1208
    -- Database Collating Sequence...