setIntParameter method

Sets the value for the specified parameter using a UInt16.

Syntax
setIntParameter( UInt16 parameterID, UInt16 value )
Parameters
  • parameterID   The ID number of the parameter. The first parameter in the result set has an ID value of one.

  • value   The new value for the parameter.

Example

The following statement sets the value for the first parameter to 2147483647:

stmt.setIntParameter( 1, 2147483647 );