Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.71 KB

File metadata and controls

46 lines (33 loc) · 1.71 KB
title getNCharacterStream Method (int) (SQLServerResultSet) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
ms.assetid f1cfa4e4-3e1f-4504-b0de-cc626d653661
author David-Engel
ms.author v-daenge

getNCharacterStream Method (int) (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public java.io.Reader getNCharacterStream(int columnIndex)  

Parameters

columnIndex

An int that indicates the column index.

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