oracle以逗号拆分字符窜

zone为地区 例如:南京,鼓楼

select substr(zone,0,instr(zone,',')-1),substr(zone,instr(zone,',')+1) from table 

猜你喜欢

转载自lx7753.iteye.com/blog/1889321