我知道 PHP 和 MYSQL 在某种程度上已经回答了这个问题,但是我想知道是否有人可以教我在 Oracle 10g (最好是)和11g 中将字符串(以逗号分隔)分割成多行的最简单的方法。
下表如下:
Name | Project | Error
108 test Err1, Err2, Err3
109 test2 Err1
我想创建以下内容:
Name | Project | Error
108 Test Err1
108 Test Err2
108 Test Err3
109 Test2 Err1
I've seen a few potential solutions around stack, however they only accounted for a single column (being the comma delimited string). Any help would be greatly appreciated.