Re: Oracle XMLTYPE column truncates

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

 



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

--
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