Sets the designated parameter to the given string value.

public final void setString(int index,
                            java.lang.String str)

Parameters

index

An integer that indicates the parameter number.

str

A string value.

Exceptions

SQLServerException

Remarks

This setString method is specified by the setString method in the java.sql.PreparedStatement interface.

See Also