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