PHP 5.5.16 is released

OCI-Lob::save

(PHP 5, PECL OCI8 >= 1.1.0)

OCI-Lob::saveSaves data to the large object

Descrição

bool OCI-Lob::save ( string $data [, int $offset ] )

Saves data to the large object.

Parâmetros

data

The data to be saved.

offset

Can be used to indicate offset from the beginning of the large object.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em caso de falha.

add a note add a note

User Contributed Notes 2 notes

up
1
Michael Krug
1 year ago
When you get "OCI-Lob::save(): OCI_INVALID_HANDLE in ..." try
oci_execute($stid, OCI_NO_AUTO_COMMIT);
$clob->save($data);
oci_commit($conn);
up
0
Anonymous
8 years ago
If you are using Save() on an update statement, PHP will throw a warning similar to "OCILobWrite: OCI_INVALID_HANDLE..." if your update statement did not catch any rows with its where clause.
To Top