--- title: "updateTimestamp 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: - "SQLServerResultSet.updateTimestamp (int, java.sql.Timestamp)" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: db83d9d7-137b-4a28-a2ca-d4782e0a256e author: David-Engel ms.author: v-daenge --- # updateTimestamp Method (int, java.sql.Timestamp) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Updates the designated column with a timestamp value given the column index. ## Syntax ``` public void updateTimestamp(int index, java.sql.Timestamp x) ``` #### Parameters *index* An **int** that indicates the column index. *x* A timestamp value. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This updateTimestamp method is specified by the updateTimestamp method in the java.sql.ResultSet interface. ## See Also [updateTimestamp Method (SQLServerResultSet)](../../../connect/jdbc/reference/updatetimestamp-method-sqlserverresultset.md) [SQLServerResultSet Members](../../../connect/jdbc/reference/sqlserverresultset-members.md) [SQLServerResultSet Class](../../../connect/jdbc/reference/sqlserverresultset-class.md)