Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.67 KB

File metadata and controls

43 lines (30 loc) · 1.67 KB
title getNCharacterStream Method (java.lang.String) (SQLServerResultSet)
description getNCharacterStream Method (java.lang.String) (SQLServerResultSet)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference

getNCharacterStream Method (java.lang.String) (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

Retrieves the value of the designated column in the current row of the SQLServerResultSet object as a Reader object.

Syntax

  
public java.io.Reader getNCharacterStream(java.lang.String columnLabel)  

Parameters

columnLabel

A String that contains the column label.

Return Value

A Reader object.

Exceptions

SQLServerException

Remarks

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

This method can be used to retrieve the value of an nvarchar, nchar, nvarchar(max), ntext, or xml column in the current row of this SQLServerResultSet object. If you try to use this method to retrieve values of other data types, an exception will be thrown.

See Also

getNCharacterStream Method (SQLServerResultSet)
SQLServerResultSet Members