OCI8
PHP Manual

OCI-Lob->truncate

(PHP 5, PECL oci8:1.1-1.2.4)

OCI-Lob->truncate — Truncates large object

Description

OCI-Lob
bool truncate ([ int $length ] )

Truncates the LOB.

Parameters

length

If provided, this method will truncate the LOB to length bytes. Otherwise, it will completrely purge the LOB.

Return Values

Returns TRUE on success or FALSE on failure.

See Also


OCI8
PHP Manual