Inserting data into the database

To insert a row of data into a database, you must execute the INSERT statement.

To send an INSERT statement to the database server for execution:

  1. Assemble the statement string.
  2. Send the INSERT statement with either mi_exec() or mi_exec_prepared_statement().
  3. Process the results of the completed statement.

Copyright© 2019 HCL Technologies Limited