Freigeben über


getCharacterStream Method (java.lang.String)

Retrieves the value of the designated column name in the current row of this SQLServerResultSet object as a java.io.Reader object.

public java.io.Reader getCharacterStream(java.lang.String columnName)

Parameter

columnName

A String that contains the column name.

Rückgabewert

A Reader object.

Ausnahmen

SQLServerException

Hinweise

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

This method will read only SQL Server Unicode character data types such as nchar, nvarchar, nvarchar(max), and ntext. All other data types, including the ASCII character types, will cause an exception to be thrown. To read the ASCII data types, use the getAsciiStream method.

Siehe auch

Referenz

SQLServerResultSet Class

Konzepte

getCharacterStream Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members