Sets the designated parameter to the given integer value.

public final void setInt(int n,
                         int value)

Parameters

n

An integer that indicates the parameter number.

value

An integer value.

Exceptions

SQLServerException

Remarks

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

See Also