setBooleanParameter method

Sets the value for the specified parameter using a Boolean.

Syntax
setBooleanParameter( UInt16 parameterID, Boolean 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 a value for the first parameter:

stmt.setBooleanParameter(1, false);