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

SQL Anywhere 11.0.1 (Français) » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API reference » PreparedStatement class


setShortParameter method

Sets the value for the specified parameter.

setUInt16Parameter( UInt16 parameterID, UInt16 value )
  • 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.


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

stmt.setShortParameter( 1, 32767 );