--- title: "updateTimestamp Method (java.lang.String, java.sql.Timestamp) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.suite: "sql" ms.technology: connectivity ms.tgt_pltfrm: "" ms.topic: conceptual apiname: - "SQLServerResultSet.updateTimestamp (java.lang.String, java.sql.Timestamp)" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: 6d468357-bf73-484c-9a30-3671e399cf26 caps.latest.revision: 8 author: MightyPen ms.author: genemi manager: craigg --- # updateTimestamp Method (java.lang.String, java.sql.Timestamp) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Updates the designated column with a timestamp value given the column name. ## Syntax ``` public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x) ``` #### Parameters *columnName* A **String** that contains the column name. *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)