INSERT cursors

Informix® supports insert cursors. An "insert cursor" is a special BDL cursor declared with an INSERT statement instead of a SELECT statement. When this kind of cursor is open, you can use the PUT instruction to add rows and the FLUSH instruction to insert the records into the database.

For Informix databases with transactions, OPEN, PUT and FLUSH instructions must be executed within a transaction.

IBM® DB2® does not support insert cursors.

Solution

Insert cursors are emulated by the IBM DB2 database interface.