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

 

setULongParameter method

Sets the value for the specified parameter using a Double treated as an unsigned value.

Syntax
setULongParameter( UInt16 parameterID, UInt64 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. Uses a Double to represent the value of an unsigned 64-bit integer.

Remarks

See class Unsigned64.

Example

The following statement sets the value for the first parameter:

stmt.setLongParameter( 1, 9223372036854770000 * 4096 );