Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Database Access > Executing SQL Statements > Inserting Data into the Database >

Processing Insert Results

After the database server executes an INSERT statement, the mi_get_result( ) function returns a MI_DML statement status. You can obtain the following information about the statement:

The SERIAL and SERIAL8 data types allow you to have an integer column for which the database server automatically increments the value with each insert. You can obtain the newly inserted serial value for the most recent INSERT statement with the following DataBlade API functions.

Serial Data Type
DataBlade API Function
SERIAL
mi_last_serial( )
SERIAL8
mi_last_serial8( )
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]