Sets the designated parameter to the given timestamp and calendar values.

public final void setTimestamp(int n,
                               java.sql.Timestamp x,
                               java.util.Calendar cal)

Parameters

n

An integer that indicates the parameter number.

x

An Timestamp object.

cal

A Calendar object.

Exceptions

SQLServerException

Remarks

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

See Also