日期:2014-05-17 浏览次数:21007 次
with
t as (select 'abe' colA,10 colB from dual
union all
select 'cd',20 from dual
union all
select 'f',3 from dual),
t1 as (select level id from dual connect by level<=10)
select substr(t.colA,t1.id,1)colA,t.colB
from t,t1
where t1.id<=length(t.colA)
order by colA;