setInt method

Sets the value for the specified column using an Integer.

Syntax
setInt( UInt16 columnID, Int32 value )
            
Parameters
  • columnID   The ID number of the column. The first column in the table has an ID value of one.

  • value   The new value for the column.

Remarks

The data in the row is not actually changed until you execute an insert or update, and that change is not permanent until it is committed.

Example

The following statement sets the value of the first column to 2147483647:

t.setInt( 1, 2147483647 );