--- title: "getClob Method (java.lang.String) (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 (java.lang.String)" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: c1de9804-1f27-4854-8985-3385fadcbebb author: David-Engel ms.author: v-daenge --- # getClob Method (java.lang.String) (SQLServerResultSet) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Retrieves the value of the designated column name 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(java.lang.String colName) ``` #### Parameters *colName* A **String** that contains the column name. ## 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)