Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.71 KB

File metadata and controls

56 lines (42 loc) · 1.71 KB
title updateNString Method (java.lang.String, java.lang.String) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
ms.assetid 6daca03f-c60f-4842-b9e3-11d136e78312
caps.latest.revision 18
author MightyPen
ms.author genemi
manager craigg

updateNString Method (java.lang.String, java.lang.String)

[!INCLUDEDriver_JDBC_Download]

Updates the designated column with a String value using the specified column label.

Syntax

  
public void updateNString(java.lang.String columnLabel,  
                          java.lang.String nString)  

Parameters

columnLabel

A String that contains the column label.

nString

A String object.

Exceptions

SQLServerException

Remarks

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

This method passes Java String to selected nchar, nvarchar(max), ntext, and xml columns. Using this method on other data type columns will throw an exception.

See Also

updateNString Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class