| title | setTimestamp Method (int, java.sql.Timestamp) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | 2f7bb89f-ace7-41cb-b596-5aa8d0dd9e3c | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Sets the designated parameter to the given timestamp value.
public final void setTimestamp(int n,
java.sql.Timestamp x)
n
An int that indicates the parameter number.
x
A Timestamp object.
This setTimestamp method is specified by the setTimestamp method in the java.sql.PreparedStatement interface.
setTimestamp Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class