Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.58 KB

File metadata and controls

53 lines (37 loc) · 1.58 KB
title setNClob Method (java.lang.String, java.io.Reader, long) | 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 c1b95ee7-7e82-418f-8f30-948589086f63
author David-Engel
ms.author v-daenge

setNClob Method (java.lang.String, java.io.Reader, long)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the specified Reader object, which is the specified number of characters long.

Syntax

  
public final void setNClob(java.lang.String parameterName,  
              java.io.Reader reader,  
              long length)  

Parameters

parameterName

A String that contains the parameter name.

reader

A Reader object.

length

A long that indicates the number of characters in the stream.

Exceptions

SQLServerException

Remarks

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

This setNClob method is specified by the setNClob method in the java.sql.CallableStatement interface.

See Also

setNClob Method (SQLServerCallableStatement)
SQLServerCallableStatement Members