Compartir a través de


updateBinaryStream Method (java.lang.String, java.io.InputStream)

Updates the designated column with a binary stream value.

Nota

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

public void updateBinaryStream(java.lang.String columnLabel,
                               java.io.InputStream x)

Parámetros

columnLabel

A String that contains the column label.

x

An InputStream object.

Excepciones

SQLServerException

Observaciones

This updateBinaryStream method is specified by the updateBinaryStream method in the java.sql.ResultSet interface.

Using this method for the image, text, and ntext SQL Server data types might impact the performance.

This method passes bytes from an InputStream object to selected SQL Server binary columns such as binary, varbinary, varbinary(max), image, xml, and udt. Updating character columns is not supported with this method. To update character columns with an InputStream, use the updateAsciiStream method.

Vea también

Referencia

SQLServerResultSet Class

Conceptos

updateBinaryStream Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members