Sets the value for the specified parameter using an array of bytes.
setBytesParameter( UInt16 parameterID, Array 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.
Suitable for columns of type SQLType.BINARY or SQLType.LONGBINARY only.
The following statement sets a value for the first parameter:
var blob = new Array( 3 ); blob[ 0 ] = 78; blob[ 1 ] = 0; blob[ 2 ] = 68; stmt.setBytesParameter( 1, blob ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |