例子:
select wm_concat(roleid) from lbmember where userid = ?
值的形式:1,2,3
下面是把1,2,3转换为1;2;3
select replace((select wm_concat(roleid) from lbmember where userid = ?),‘,‘,‘;‘) from dual
时间: 2024-10-12 20:54:05
例子:
select wm_concat(roleid) from lbmember where userid = ?
值的形式:1,2,3
下面是把1,2,3转换为1;2;3
select replace((select wm_concat(roleid) from lbmember where userid = ?),‘,‘,‘;‘) from dual