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.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE

參見


OCI8
PHP Manual