setNString Method (int, java.lang.String)
Sets the designated parameter to the specified String object.
Syntax
public final void setNString(int parameterIndex,
java.lang.String value)
Parameters
parameterIndex
An int that indicates the parameter index.
value
A String object that contains the parameter value.
Exceptions
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.PreparedStatement interface.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for