4levels teams with the top technology providers to enhance your operations   |   Domains & Hosting   |  Get Support   | My 4levels
GET IN TOUCH
+27 (0)11 848 6229

IBM

4levels-IT-Default-Header

Accessing the IBM i Database Using SQL


Course Description


Overview

SQL is a very powerful programming and database language that is widely used in business today. For example, SQL can be used to perform interactive database queries as well as to extract data from a server and pass that data to a Java applet running on a client PC. SQL is frequently used in IBM i high-level languages as an alternate means to access the database. This course is designed to teach IBM i programmers and highly skilled IBM i users how to access the DB2 database using SQL. You will learn how to create, maintain, and query the database using the interactive SQL interface and System i Navigator.  

Audience

This is an intermediate course for experienced IBM i (including i5/OS and OS/400) programmers. However, very skilled IBM i users who want to learn how to use the SQL programming language as a means to access the DB2 Database for IBM i may also consider attending this class. This course is not recommended for users who need to perform simple queries. DB2 WebQuery Getting Started is an end user oriented tool designed for this purpose. You can learn about IBM Query for IBM i by attending such courses as DB2 WebQuery for IBM i Workshop (OD04G).

Prerequisites

You should be able to:
  • Use a Windows-based PC
  • Navigate and use a Windows-based desktop
  • Navigate IBM i menus
  • Use IBM i commands
  • List the data types that are supported by the IBM i DB2 database
  • Explain the use of the data types supported by the IBM i DB2 database
 

Key topics

Welcome and Administration
  • Unit 1. SQL Concepts
    • Introducing SQL
  • Unit 2. Extracting Data Using SELECT
    • The SELECT Statement
    • Using System i ¬†Navigator
    • Using 5250 STRSQL
  • Unit 3. Functions
    • Column Functions
    • Scalar Functions
    • CASE and CAST
  • Unit 4. JOIN and UNION
    • Using JOIN
    • UNION
  • Unit 5. SubSELECTs
    • Using SubSELECTs / Subqueries
  • Unit 6. Query Tools
    • Using Query Manager
  • Unit 7. Database Maintenance
    • SQL Data Types
    • SQL Data Definition and Manipulation
    • Data Integrity
    • SQL SYS Objects
    • Creating SQL Objects on the System i

Objectives

  • Apply data definition language (DDL) to describe tables and views
  • Use UPDATE, INSERT, ALTER, and DELETE to modify SQL tables and maintain a database
  • Make use of the SELECT statement to extract data from tables and views
  • Code SQL queries that include column and scalar functions
  • Code SQL queries that include inner and outer joins
  • Utilize SQL Query Manager

Course Duration

2 Days
  • Brands we have partnered with to add value to your business


    We are committed to helping our clients reach their business goals

    4levels’ preferred access to the latest technologies, premier technical support and advanced training helps provide you with specialist and customized solutions that help you achieve your business goals.

4levels Solutions sign up form


Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur excepteur sint occaecat cupidatat non

4levels Solutionslogin form