Home > PHP > Function > OCI8 > OCI-Lob->writeTemporary()

OCI-Lob->writeTemporary()

OCI-Lob->writeTemporary - Writes temporary large object

Syntax

bool OCI-Lob->writeTemporary (string $data, int $lob_type)

Arguments

  • data - The data to write.
  • 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

Description

Creates a temporary large object and writes data to it.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns TRUE on success or FALSE on failure.