SQL programming

 

DB2 Universal Database™ for iSeries™ provides a wide range of support for Structured Query Language (SQL).

The examples of SQL statements shown in this topic collection are based on the sample tables and assume that the following statements are true:

Whenever the examples vary from these assumptions, it is stated.

Because this topic collection is for the application programmer, most of the examples are shown as if they were written in an application program. However, many examples can be slightly changed and run interactively by using interactive SQL. The syntax of an SQL statement, when using interactive SQL, differs slightly from the format of the same statement when it is embedded in a program.

By using the code examples, you agree to the terms of the Code license and disclaimer information.

 

Related concepts


Embedded SQL programming

 

Related reference


DB2 Universal Database for iSeries sample tables
SQL reference