在SQL语句中如何将字符串分割后再与另一个字符串链接
发布网友
发布时间:2024-09-28 11:05
我来回答
共2个回答
热心网友
时间:2024-10-02 06:00
select A||substr(B,1,1) col1 from tab where length(B)>=1
union all select A||substr(B,2,1) from tab where length(B)>=2
union all select A||substr(B,3,1) from tab where length(B)>=3
union all select A||substr(B,4,1) from tab where length(B)>=4
热心网友
时间:2024-10-02 06:01
用游标一行一行处理吧
热心网友
时间:2024-10-02 06:01
select A||substr(B,1,1) col1 from tab where length(B)>=1
union all select A||substr(B,2,1) from tab where length(B)>=2
union all select A||substr(B,3,1) from tab where length(B)>=3
union all select A||substr(B,4,1) from tab where length(B)>=4
热心网友
时间:2024-10-02 06:01
用游标一行一行处理吧