setString Method (SQLServerPreparedStatement)

Sets the designated parameter to the given String value.

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

Parameters

index

An int 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

Reference

SQLServerPreparedStatement Class

Concepts

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members