-
Originally Posted by WilliamR
Just for fun, try this (requires 9i, tested in 9.2.0.1):
Code:
SELECT str, EXTRACTVALUE(xt.column_value,'e') AS name
FROM t
, TABLE(XMLSEQUENCE
( EXTRACT
( XMLTYPE('<coll><e>' ||
REPLACE(t.str,',','</e><e>') ||
'</e></coll>')
, '/coll/e') )) xt;
Brilliant !!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|