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;
|
Results 1 to 10 of 13
Thread: Sql queryThreaded View
|
Click Here to Expand Forum to Full Width |