Quest
Tuesday, November 23, 2010
Oracle: Convert XMLType to Varchar2
Use
xmltype.getStringVal()
or
xmltype.getClobVal()
based on the size.
declare
myxml_type xmltype;
mystr Varchar2(4000);
begin
mystr :=myxml_type.getStringVal();
end;
/
1 comment:
Unknown
June 20, 2017 at 9:34 AM
Perfect !!
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Perfect !!
ReplyDelete