When you write applications using embedded SQL, you insert SQL requests into your application program, which must be written in one of the supported programming languages shown in “Supported Languages and Platforms” on page 96.
Because third-generation application development languages do not have facilities for dealing with results sets, embedded SQL contains extensions to executable SQL that permit declarations.
Embedded SQL declarations include:
A cursor is a pointer device you use to read through a results table one record/row at a time. For more information about cursors, see “Cursors” on page 95.