Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Hello World: DB2 for Linux, UNIX, and Windows

Introduction to basic features and concepts

Claire Hong, Advisory Software Developer, IBM Toronto Lab
Claire Hong's photo
Claire Hong is a Software Developer with eight years experience at IBM Toronto Software Development Lab, working on the design, implementation, performance tuning and L3 advanced support of DB2 database kernel areas including index, recovery, and locking. From DB2 Version 6 to Version 9, she has delivered features such as Async Index Cleanup, Online Index Creation, Online Index Reorg, HADR Index Support, as well as numerous index performance tuning features. Currently, Claire is working for the DB2 Continuing Engineering Team, Kernel area, and is responsible for Index Manager as well as Data Protection Service components. Her most recent interests are to transfer her DB2 knowledge to external DB2 user communities and help improve the DB2 user experience.
Renata Kupresak, Staff Software Developer, IBM Toronto Lab
Renata Kupresak's photo
Renata Kupresak is a Software Developer for DB2 currently working in the FVT Kernel team where she is responsible for Quality Assurance of different product components. Prior to that she worked on the Data Movement team where she was the component owner of Import and Export Utilities. She was also involved in introducing XML support for these utilities. Renata graduated from York University with a Bachelor in Science, Combined Honours in Computer Science and Applied Mathematics as well as Bachelor of Education in Intermediate/Senior Division.

Summary:  This tutorial provides high-level overviews of various IBM software products. You'll get an introduction to some introduction to some of the basic features and concepts in DB2® for Linux®, UNIX® and Windows® and learn you how to implement a database in DB2 environment. The exercises offer step-by-step instructions on how to create a database, how to create DB2 objects such as tables, indexes, views and constraints, how to get data in and out of the database, and how to query the data in the database.

View more content in this series

Date:  11 Dec 2006
Level:  Introductory PDF:  A4 and Letter (3169 KB | 59 pages)Get Adobe® Reader®

Activity:  13463 views
Comments:  

Before you start

About this series

This series is for software developers who want high-level overviews of IBM software products. The modules are designed to introduce the products, and draw your interest for further exploration. The exercises cover only the basic concepts, but are enough to get you started.


About this tutorial

This tutorial shows you how to implement a database in DB2 environment. The exercises offer step-by-step instructions on how to create a database, how to create DB2 objects such as tables, indexes, views and constraints, how to get data in and out of the database, and how to query the data in the database.


Objectives

At the end of this tutorial, you will be able to create a database and other objects, such as tablespaces, tables, indexes and views.


Prerequisites

This tutorial is designed for developers with minimum or no knowledge of DB2.


System requirements

Before starting this tutorial, make sure DB2 Express 9 is installed. Download a no charge version of DB2 Express-C 9.

To view the demos included in this tutorial, enable JavaScript in your browser and install Macromedia Flash Player 6 or higher. Download the latest Flash Player at http://www.macromedia.com/go/getflashplayer/.


Animated demos

If this is your first encounter with a developerWorks tutorial that includes demos, here are a few helpful hints:

  • Demos are an optional way to see the same steps described in the tutorial. To see an animated demo, click the Show me icon Show me link. The demo opens in a new browser window.
  • Each demo contains a navigation bar at the bottom of the screen. Use the navigation bar to pause, exit, rewind, or fast forward portions of the demo.
  • The demos are 800 x 600 pixels. If this is the maximum resolution of your screen, or if your resolution is lower than this, scrolling is necessary to see some areas of the demo.

Watch the demo before you start the associated exercise to gain a clearer understanding of the tasks at hand.

1 of 18 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management, XML
ArticleID=183124
TutorialTitle=Hello World: DB2 for Linux, UNIX, and Windows
publish-date=12112006
author1-email=qchong@ca.ibm.com
author1-email-cc=
author2-email=renatar@ca.ibm.com
author2-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.