Sets the value for the specified SQLType.REAL parameter.
setFloatParameter( UInt16 parameterID, Float 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 a floating-point value for the first parameter:
stmt.setFloatParameter( 1, (2 - Math.pow(2,-23)) * Math.pow(2,127) ); |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |