Re: Oracle XMLTYPE column truncates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mikey wrote:
> Roberto Mansfield wrote:
>> Hi Mikey,
>>
>> OCI doesn't directly support the XMLtype so you need to convert to
>> string (if < 4k) or clob before retrieving. Use:
>>
>> select xml_metadata.getClobVal() ... OR
>> select xml_metadata.getStringVal() ...
>>
>> If converting to clob, you get a clob object back and you'll need to run
>> the load() method on it to get the text back.
>>
>> Roberto
> 
> Hi Roberto, thanks for your reply - any pointers to resources for
> dealing with CLOBS?
> 
> Mikey

Checkout
http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fuecks_lobs.html

and go to the section "Selecting a LOB".

-Roberto

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux