setNString Method (SQLServerCallableStatement)

Sets the designated parameter to the specified String object.

Hinweis

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

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

Parameter

parameterName

A String that indicates the parameter name.

value

A String object.

Ausnahmen

SQLServerException

Hinweise

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.

Siehe auch

Referenz

SQLServerCallableStatement Class

Konzepte

SQLServerCallableStatement Methods
SQLServerCallableStatement Members