Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API reference » PreparedStatement class

 

setDoubleParameter method

Sets the value for the specified parameter using a double.

Syntax
setDoubleParameter( UInt16 parameterID, Double 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.setDoubleParameter( 1, Number.MAX_VALUE );