oracle得到某个字符串前后的值

select TEXT,VALUE, case when instr(text,'#') = 0 then text else substr(text,1,instr(text,'#')-1) end reason, case when instr(text,'#') = 0 then '0' else substr(text,instr(text,'#')+1,length(text)-inst
相关文章
相关标签/搜索