Split Multiline CLOB Column - Oracle PL/SQL
问题 I have a table which includes a CLOB field with values consisting of lines of comma-separated values. In the output I want a row for each these lines which start with a particular value. I also want to extract some of the comma-separated values performantly. Input table (3 rows): id my_clob 001 500,aaa,bbb 500,ccc,ddd 480,1,2,bad 500,eee,fff 002 777,0,0,bad 003 500,yyy,zzz Target output (4 rows): id my_clob line_num line second_val 001 500,aaa,bbb 1 500,aaa,bbb aaa 500,ccc,ddd 480,1,2,bad 500