Returns the number of bytes in the BLOB object.

public long length()

Return Value

A long value that specifies the number of bytes.

Exceptions

SQLServerException

Remarks

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

See Also