Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.28 KB

File metadata and controls

45 lines (31 loc) · 1.28 KB
title setNString Method (SQLServerCallableStatement)
description setNString Method (SQLServerCallableStatement)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference

setNString Method (SQLServerCallableStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the specified String object.

Syntax

  
public final void setNString(java.lang.String parameterName, java.lang.String value)  

Parameters

parameterName

A String that indicates the parameter name.

value

A String object.

Exceptions

SQLServerException

Remarks

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

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

See Also

SQLServerCallableStatement Members
SQLServerCallableStatement Class