OCI-Lob::save

(No version information available, might only be in Git)

OCI-Lob::saveGuarda datos en un objeto grande

Descripción

OCI-Lob::save(string $data, int $offset = ?): bool

Guarda los datos dados por data en un objeto grande.

Parámetros

data

Los datos a guardar.

offset

Se puede usar para señalar el índice desde el comienzo del objeto grande.

Valores devueltos

Devuelve true en caso de éxito o false en caso de error.

add a note add a note

User Contributed Notes 2 notes

up
-7
Anonymous
17 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.
up
-9
Michael Krug
10 years 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);
To Top