setLong Method (SQLServerPreparedStatement)

Sets the designated parameter to the given long value.

public final void setLong(int n,
                          long x)

Parameters

n

An int that indicates the parameter number.

x

A long value.

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerPreparedStatement Class

Concepts

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members