OCI8
PHP Manual

OCI-Lob->truncate

(PHP 5, PECL oci8:1.1-1.2.4)

OCI-Lob->truncate — Truncates large object

说明

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

Truncates the LOB.

参数

length

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

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


OCI8
PHP Manual