摘要:
select id,s1,length(s1),lengthb(s1),length(substr(s1,1,2)),lengthb(substr(s1,1,2)),length(substrb(s1,1,2)),lengthb(substrb(s1,1,2)) from ( select 1 id 阅读全文
摘要:
生成insert语句select ','||b.column_name ins1,'--'||b.comments ins2,',a.'||b.column_name||' as '||b.column_name sel from user_tab_cols a,user_col_comments 阅读全文
摘要:
1. select id,yy,regexp_count(nvl(yy,' '),',')+1 a1,regexp_substr(yy,'[^,]+',1,level) as A2 from (select 1 id,'01,06,07,09' yy from dual union all sele 阅读全文