Function READ_DATA
RDB$BLOB_UTIL.READ_DATA
reads chunks of data of a BLOB handle opened with RDB$BLOB_UTIL.OPEN_BLOB
.When the BLOB is fully read and there is no more data, it returns NULL
.
If LENGTH
is passed with a positive number, it returns a VARBINARY with its maximum length.
If LENGTH
is NULL
it returns a segment of the BLOB with a maximum length of 32765.
-
HANDLE
typeINTEGER NOT NULL
-
LENGTH
typeINTEGER
Return type: VARBINARY(32765)
.