| title | updateAsciiStream method (int, java.io.InputStream) |
|---|---|
| description | updateAsciiStream Method (int, java.io.InputStream) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
[!INCLUDEDriver_JDBC_Download]
Updates the designated column with an ASCII stream value.
public void updateAsciiStream(int columnIndex,
java.io.InputStream x)
columnIndex
An int that indicates the column index.
x
An InputStream object.
This updateAsciiStream method is specified by the updateAsciiStream method in the java.sql.ResultSet interface.
This method passes ASCII characters (bytes) from an InputStream object to convertible character columns, which are the ASCII range [0x00 - 0x7F] of Unicode, and 874, 932, 936, 949, 950, and 1250 through 1258 code pages. This method performs a conversion to the destination collation page. Trying to update an unconvertible destination column will cause an exception to be thrown. For binary columns, raw bytes are passed.
Using this method for the image, text, and ntext[!INCLUDEssNoVersion] data types might impact performance.
updateAsciiStream Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class