note 5194 modified in OCINewDescriptor by ronabop
| From: | ronabop@php.net | Date: | Sun, 01 Oct 2000 06:06:47 +0000 |
| Subject: | note 5194 modified in OCINewDescriptor by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5733@lists.php.net to get a copy of this message | ||
To read a lob, do the following:
<PRE>
$sql = OCIParse("select * from table_with_lob_field");
OCIExecute($sql, OCI_DEFAULT);
while ( OCIFetchInto($sql, $row, OCI_ASSOC) ) {
$lob_data = $row[lob_field_name]->load();
};
http://www.php.net/manual/function.ocinewdescriptor.php