updateAsciiStream Method (java.lang.String, java.io.InputStream)
Updates the designated column with an ASCII stream value.
Nota
This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.
public void updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x)
Parametri
columnLabel
A String that contains the column label.
x
An InputStream object.
Eccezioni
Osservazioni
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 SQL Server data types might impact performance.
Vedere anche
Riferimento
Concetti
updateAsciiStream Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members