POWERUp 2019 has ended
Experience the magic of education. 
Back To Schedule
Sunday, May 19 • 5:15pm - 6:15pm
18AK Embedded SQL - An Introduction

Log in to save this to your schedule, view media, leave feedback and see who's attending!

SQL is IBM's relational database language that can be used to query, update and delete data from the database. SQL is becoming the 'de facto' industry standard for accessing distributed data. Record Level Access can only be used with RPG and Cobol, while in all other programming languages data access is performed through SQL. Additionally SQL provides a lot of great features, such as aggregating rows and building sub-totals or updating a bunch of rows with a single statement. SQL also includes various scalar functions for example for date and time calculation, that are not available in RPG or Cobol. Embedded SQL allows SQL commands to be included and executed directly from within RPG or Cobol and thereby profiting from all the powerful SQL features without additional programming.

Learning Objectives:

In this session you will learn how to embed and execute SQL commands from within an HLL respectively RPG. It provides an overview of the commands to use in an application program to exploit SQL scalar functions as well as for updating, deleting and accessing data located in database objects.

avatar for Birgitta Hauser

Birgitta Hauser

Database and Software Architect

Sunday May 19, 2019 5:15pm - 6:15pm PDT
Fantasy Tower North Ballroom B
  Application Development
  • Focused Education Roadmap SQL Programming
  • Level Beginner
  • Operating System IBM i
  • Audience Developers who already discovered the power of SQL and want to profit from those features from within RPG or Cobol. Developers originally coming from other programming languages who want to access data in the same way they are used to do. Developers working in a “multi-(programming)lingual” environment who need or want to embed the same or slightly modified source code in different programming languages.