Retrieves a stream to be used to write ASCII characters to the NCLOB value that this java.sql.NClob object represents, starting at the specified position.

Note: This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

Syntax

public java.io.OutputStream setAsciiStream(long pos)

Parameters

pos

The position at which to start writing to the NCLOB object; the first position is 1.

Return Value

An OutputStream object that represents the stream to which ASCII encoded characters can be written.

Exceptions

SQLServerException

Remarks

This setAsciiStream method is specified by the setAsciiStream method in the java.sql.NClob interface.

See Also

SQLServerNClob Class
SQLServerNClob Methods
SQLServerNClob Members