PHP 手冊
前一頁 |  | 下一頁

# lob->truncate

(no version information, might be only in CVS)

lob->truncate -- Truncates large object

## Description

bool lob->truncate ( [int length] )

If parameter length is given, lob->truncate() truncates large object to length bytes. Otherwise, lob->truncate() will purge the LOB completely.

成功回傳`TRUE`失敗回傳`FALSE`。

See also oci_lob_erase().

前一頁 | 內容 | 下一頁
lob->tell | 上一層 | lob->writeTemporary