Database programming

There are multiple programming interfaces for accessing database files.

Some of the common interfaces allow you to write a single application to access both IBM® i and non-IBM i databases. You can use Structured Query Language (SQL) to access Db2® for i database files. You can also use stored procedures and record-level access interfaces for access to single records within a file.

The topics below provide information on the interfaces that are supported. Also, see the Db2 for i SQL Reference topic collection in the IBM i Information Center to access the Db2 for i SQL Programming book for additional details.

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