Code
OL370RO
Duration
2 days
Price
600 €*
No opened sessions
Notify me when available
* the price doesn't contain VAT taxes

DescriptionWhat we offer

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.

ObjectivesWhat you learn

  • 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

TopicsThe best for you

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
Need this course inside your company?

PrerequisitesWhat should you know

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

Other courses that may enhance your knowledge are:

  • IBM i Technical Introduction (OL4AG)

Assuming an IBM i programming background, a programmer would attend the database classes in this order:

  • Accessing the IBM i Database Using SQL (OL37G)
  • Developing IBM i Applications Using SQL (OL38G)

AudienceWho should attend

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).