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.
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:
- Code to encapsulate the SQL from the application language
- Cursor definition and manipulation
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.