title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | apilocation | apiname | apitype |
---|---|---|---|---|---|---|---|---|---|---|
setTimestamp Method (int, java.sql.Timestamp, java.util.Calendar) |
setTimestamp Method (int, java.sql.Timestamp, java.util.Calendar) |
David-Engel |
davidengel |
01/19/2017 |
sql |
connectivity |
reference |
sqljdbc.jar |
SQLServerPreparedStatement.setTimestamp (int, java.sql.Timestamp, java.util.Calendar)) |
Assembly |
[!INCLUDEDriver_JDBC_Download]
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)
n
An int that indicates the parameter number.
x
An Timestamp object.
cal
A Calendar object.
This setTimestamp method is specified by the setTimestamp method in the java.sql.PreparedStatement interface.
setTimestamp Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class