PHP 手冊
前一頁 |  | 下一頁

# lob->writeTemporary

(no version information, might be only in CVS)

lob->writeTemporary -- Writes temporary large object

## Description

bool lob->writeTemporary ( string data [, int lob_type] )

Creates a temporary large object and writes data to it.

Parameter lob_type can be one of the following:

`OCI_TEMP_BLOB` is used to create temporary BLOBs
`OCI_TEMP_CLOB` is used to create temporary CLOBs

lob->writeTemporary() creates a CLOB by default.

You should use oci_lob_close() when the work with the object is over.

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

> 注: In PHP versions before 5.0.0 you must use ociwritetemporarylob() instead. This name still can be used, it was left as alias of oci_lob_write_temporary() for downwards compatability. This, however, is deprecated and not recommended.

See also oci_lob_close().

前一頁 | 內容 | 下一頁
lob->truncate | 上一層 | lob->write