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

SQL Anywhere 10.0.1 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API Reference » ULTable class

 setBoolean method Next Page

setBytes method

Sets the value for the specified column using an array of bytes.


setBytes( UInt16 columnID, Array value )


Suitable for columns of type SQLType.BINARY or SQLType.LONGBINARY only. The data in the row is not actually changed until you execute an insert or update, and that change is not permanent until it is committed.


The following statements set the value of the first column:

var blob = new Array( 3 );
blob[ 0 ] = 78;
blob[ 1 ] = 0'
blob[ 2 ] = 68;
t.setBytes( 1, blob );