Share via


updateCharacterStream Method (java.lang.String, java.io.Reader)

Updates the designated column with a character stream value.

Note

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

public void updateCharacterStream(java.lang.String columnLabel,
                                  java.io.Reader reader)

Parameters

columnLabel

A String that contains the column label.

reader

A Reader object.

Exceptions

SQLServerException

Remarks

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

This method passes Unicode characters from a Reader object to selected text and binary columns. This includes all text columns and binary, varbinary, varbinary(max), image, and xml columns, but not udt columns.

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

See Also

Reference

SQLServerResultSet Class

Concepts

updateCharacterStream Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members