| title | setTimestamp Method (int, java.sql.Timestamp) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | drivers | |
| ms.service | ||
| ms.component | jdbc | |
| ms.reviewer | ||
| ms.suite | sql | |
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | article | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | 2f7bb89f-ace7-41cb-b596-5aa8d0dd9e3c | |
| caps.latest.revision | 8 | |
| author | MightyPen | |
| ms.author | genemi | |
| manager | jhubbard | |
| ms.workload | Inactive |
[!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