--- title: "getBlob Method (int) (SQLServerResultSet) | 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.getBlob (int)" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: a00275cb-0299-4a21-a518-2640598a5bbf author: David-Engel ms.author: v-daenge --- # getBlob Method (int) (SQLServerResultSet) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Retrieves the value of the designated column index in the current row of this [SQLServerResultSet](../../../connect/jdbc/reference/sqlserverresultset-class.md) object as a Blob object in the Java programming language. ## Syntax ``` public java.sql.Blob getBlob(int i) ``` #### Parameters *i* An **int** that indicates the column index. ## Return Value A Blob object. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This getBlob method is specified by the getBlob method in the java.sql.ResultSet interface. ## See Also [getBlob Method (SQLServerResultSet)](../../../connect/jdbc/reference/getblob-method-sqlserverresultset.md) [SQLServerResultSet Members](../../../connect/jdbc/reference/sqlserverresultset-members.md) [SQLServerResultSet Class](../../../connect/jdbc/reference/sqlserverresultset-class.md)