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
相關文章
相關標籤/搜索