--- title: "getClob 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.getClob (int)" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: 91020fad-a9e2-4ea4-9c72-c63cf6b1051c author: David-Engel ms.author: v-daenge --- # getClob 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 Clob object in the Java programming language. ## Syntax ``` public java.sql.Clob getClob(int columnIndex) ``` #### Parameters *columnIndex* An **int** that indicates the column index. ## Return Value A Clob object. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This getClob method is specified by the getClob method in the java.sql.ResultSet interface. ## See Also [getClob Method (SQLServerResultSet)](../../../connect/jdbc/reference/getclob-method-sqlserverresultset.md) [SQLServerResultSet Members](../../../connect/jdbc/reference/sqlserverresultset-members.md) [SQLServerResultSet Class](../../../connect/jdbc/reference/sqlserverresultset-class.md)