--- title: "getNClob 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 ms.assetid: 36571f7c-b335-4249-8f83-51dcb6923aec author: David-Engel ms.author: v-daenge --- # getNClob Method (java.lang.String) (SQLServerResultSet) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Retrieves the value of the designated column in the current row of the [SQLServerResultSet](../../../connect/jdbc/reference/sqlserverresultset-class.md) object as a NClob object in the Java programming language. ## Syntax ``` public java.sql.NClob getNClob(java.lang.String columnLabel) ``` #### Parameters *columnLabel* A **String** that contains the column label. ## Return Value A NClob object. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This getNClob method is specified by the getNClob method in the java.sql.ResultSet interface. This method is supported only on **nvarchar(max)**, **ntext**, and **xml** columns. Using this method on any other data types will cause an exception to be thrown. ## See Also [getNClob Method (SQLServerResultSet)](../../../connect/jdbc/reference/getnclob-method-sqlserverresultset.md) [SQLServerResultSet Members](../../../connect/jdbc/reference/sqlserverresultset-members.md) [SQLServerResultSet Class](../../../connect/jdbc/reference/sqlserverresultset-class.md)