note 18809 added to function.ocinewdescriptor

From: Date: Wed, 06 Feb 2002 14:43:50 +0000
Subject: note 18809 added to function.ocinewdescriptor
Groups: php.notes 
Request: Send a blank email to php-notes+get-26293@lists.php.net to get a copy of this message
Working with LOBS in Oracle, I noticed that when using $resultArray["MyClob"]->save($text) to update a CLOB, the new text would simply over-write the old text, so if the old text was longer than the new, the "surplus" would show at the end of the new text. A work-around to this was to terminate the new text with "\0". Does anyone know if this is the "proper" way to do this, or should it be done in some other way? Regards M:-) -- http://www.php.net/manual/en/function.ocinewdescriptor.php http://master.php.net/manage/user-notes.php?action=edit+18809 http://master.php.net/manage/user-notes.php?action=delete+18809 http://master.php.net/manage/user-notes.php?action=reject+18809

« previous php.notes (#26293) next »