Compartir a través de


updateNString Method (int, java.lang.String)

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

Nota

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

public void updateNString(int columnIndex,
                        java.lang.String nString)

Parámetros

columnIndex

An int that indicates the column index.

nString

A String object.

Excepciones

SQLServerException

Observaciones

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.

Vea también

Referencia

SQLServerResultSet Class

Conceptos

updateNString Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members