ADOdb Library for PHP Manual
Prev UpdateClob Next

UpdateClob($table,$column,$val,$where)

Allows you to store a clob (in $val) into $table into $column in a row at $where. Similar to UpdateBlob (see above), but for Character Large OBjects.
Usage:

    # for oracle
    
$conn->Execute('INSERT INTO clobtable (id, clobcol) VALUES (1, empty_clob())');
    
$conn->UpdateClob('clobtable','clobcol',$clobvalue,'id=1');
    
    
# non oracle databases
    
$conn->Execute('INSERT INTO clobtable (id, clobcol) VALUES (1, null)');
    
$conn->UpdateClob('clobtable','clobcol',$clobvalue,'id=1');


Prev Home Next
UpdateBlob Up UpdateBlobFile

Sponsored by phpLens