PHP 手册
后退 |  | 前进

# OCI-Lob->truncate

(no version information, might be only in CVS)

OCI-Lob->truncate -- Truncates large object

## 说明

class OCI-Lob {
bool truncate ( [int length] )
}

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

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

## 参数

length

## 参见

OCI-Lob->erase

后退 | 起点 | 前进
OCI-Lob->tell | 上一级 | OCI-Lob->write