getBinaryStream Method (long, long)

Download JDBC driver

Returns an input stream object that contains a partial BLOB value by using the specified starting position and the length.

Syntax

  
public java.io.InputStream getBinaryStream(long pos, long length)  

Parameters

pos

The offset to the first byte of the partial value to be retrieved.

length

The length in bytes of the partial value to be retrieved.

Return Value

An input stream that contains the BLOB data.

Exceptions

SQLServerException

Remarks

This getBinaryStream method is specified by the getBinaryStream method in the java.sql.Blob interface.

See Also

SQLServerBlob Methods
SQLServerBlob Members
SQLServerBlob Class