Share via


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

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

Hinweis

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

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

Parameter

columnLabel

A String that contains the column label.

nString

A String object.

Ausnahmen

SQLServerException

Hinweise

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.

Siehe auch

Referenz

SQLServerResultSet Class

Konzepte

updateNString Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members