Sets the designated parameter to the given timestamp value.

Syntax

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

Parameters

n

An int that indicates the parameter number.

x

A Timestamp object.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerPreparedStatement Class
setTimestamp Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members