--- title: "setString Method (SQLServerClob) | 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: - "SQLServerClob.setString" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: e329de08-7624-4cf6-9da7-350584e87011 author: David-Engel ms.author: v-daenge --- # setString Method (SQLServerClob) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Writes the given **String** to the CLOB starting at the given position. ## Overload List |Name|Description| |----------|-----------------| |[setString (long, java.lang.String)](../../../connect/jdbc/reference/setstring-method-long-java-lang-string.md)|Writes the given stringto the CLOB starting at the given position.| |[setString (long, java.lang.String, int, int)](../../../connect/jdbc/reference/setstring-method-long-java-lang-string-int-int.md)|Writes the given string to the CLOB starting at the given position, based on the given offset and length.| ## See Also [SQLServerClob Methods](../../../connect/jdbc/reference/sqlserverclob-methods.md) [SQLServerClob Members](../../../connect/jdbc/reference/sqlserverclob-members.md) [SQLServerClob Class](../../../connect/jdbc/reference/sqlserverclob-class.md)