Skip to main content
Version: Next

DELETE FROM BLOB

DELETE FROM BLOB ( blob ; offset ; len )

ParameterTypeDescription
blobBLOB🡒BLOB from which to delete bytes
offsetLongint🡒Starting offset where bytes will be deleted
lenLongint🡒Number of bytes to be deleted

Description

The DELETE FROM BLOB command deletes the number of bytes specified by len from the BLOB blob at the position specified by offset (expressed relative to the beginning of the BLOB). The BLOB then becomes len bytes smaller.

Note

Compatiblity note: Since this command alters the blob passed as a parameter, it does not support blob objects (4D.Blob type). See Passing blobs and blob objects to 4D commands on developer.4d.com.

See also

INSERT IN BLOB