In ESQL/C, you can use the INSERT statement to handle situations where you need to write code that can insert data whose structure is unknown at the time you compile. For more information, refer to the dynamic management section of the IBM Informix ESQL/C Programmer's Manual.
Related statements: CLOSE , CREATE EXTERNAL TABLE (XPS), DECLARE , DESCRIBE, EXECUTE , FLUSH , FOREACH, OPEN , PREPARE, PUT , and SELECT
For a task-oriented discussion of inserting data into tables and for information on how to access row and collections with SPL variables, see the IBM Informix Guide to SQL: Tutorial.
For a discussion of the GLS aspects of the INSERT statement, see the IBM Informix GLS User's Guide.
For information on how to access row and collection values with ESQL/C host variables, see the chapter on complex data types in the IBM Informix ESQL/C Programmer's Manual.