--- title: "setCharacterStream Method (SQLServerNClob) | 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: 09042ee9-dfb1-4d0b-82bd-d1224b0aea80 author: David-Engel ms.author: v-daenge --- # setCharacterStream Method (SQLServerNClob) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Retrieves a stream to be used to write a stream of Unicode characters to the **NCLOB** value that this **java.sql.NClob** object represents, starting at the specified position. ## Syntax ``` public java.io.Writer setCharacterStream(long pos) ``` #### Parameters *pos* The position at which to start writing to the **NCLOB** value; the first position is 1. ## Return Value A Writer object that represents the stream to which Unicode encoded characters can be written. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This setCharacterStream method is specified by the setCharacterStream method in the java.sql.NClob interface. ## See Also [SQLServerNClob Methods](../../../connect/jdbc/reference/sqlservernclob-methods.md) [SQLServerNClob Members](../../../connect/jdbc/reference/sqlservernclob-members.md) [SQLServerNClob Class](../../../connect/jdbc/reference/sqlservernclob-class.md)