The long string of Oracle10g and later versions is split into multiple rows using a regular expression. The function is similar to split: selectdbms_lob.substr (regexp_substr (
Oracle 10g and later versions of long strings are split into multiple rows, using a regular expression, the function is similar to split: select dbms_lob.substr (regexp_substr (
Oracle 10 Gb or later
A long string is split into multiple rows. The regular expression is used to split a string:
Select dbms_lob.substr (regexp_substr ('abc, 1234, ABCD, test', '[^,] +', 1, x. n) field from dual, (select rownum n from dual connect by rownum <100) x;
Merge multiple String records:
Table a is as follows:
Field city
Row1 Shanghai
Row2 Beijing
Row3 Kunming
Row4 Changchun
Select wmsys. wm_concat (city) from;
The result is as follows:
Shanghai, Beijing, Kunming, Changchun,
,