Freigeben über


setTimestamp Method (int, java.sql.Timestamp, java.util.Calendar)

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)

Parameter

n

An int that indicates the parameter number.

x

An Timestamp object.

cal

A Calendar object.

Ausnahmen

SQLServerException

Hinweise

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

Siehe auch

Verweis

SQLServerPreparedStatement Class

Konzepte

setTimestamp Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members