Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: how to update xml type from blob type?

Re: how to update xml type from blob type?

From: Raj <rajesh.velicheti_at_gmail.com>
Date: 14 May 2006 23:28:18 -0700
Message-ID: <1147674498.705133.91250@v46g2000cwv.googlegroups.com>


hey,
XMLType has a constructor which takes in a CLOB. So if you can convert your BLOB to a CLOB u are done. Not sure if XDB has a direct way to convert from BLOB to XMLType.

--Rajesh.
Aakash wrote:
> Hi Guys, we have XML documents stored in BLOB column. And trying to
> convert them to XML data type. We need to do something like this:
>
> insert into o1(xmltype) select blob from o2;
>
> What conversion functions should we use?
>
> Thanks
Received on Mon May 15 2006 - 01:28:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US