Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.49 KB

File metadata and controls

48 lines (34 loc) · 1.49 KB
title setNCharacterStream Method to Reader object - int | 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 7732746b-eda5-469e-8567-e8546c4d81cd
author David-Engel
ms.author v-daenge

setNCharacterStream Method (int, java.io.Reader)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the specified Reader object.

Syntax

  
public final void setNCharacterStream(int parameterIndex,  
                                                 java.io.Reader value)  

Parameters

parameterIndex

An int that indicates the parameter index.

value

A Reader object that contains the parameter value.

Exceptions

SQLServerException

Remarks

This setNCharacterStream method is specified by the setNCharacterStream method in the java.sql.PreparedStatement interface.

This method should be used for NCHAR, NVARCHAR, NTEXT, and XML data types.

See Also

setNCharacterStream Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members