标签:regex 表达 用户id substr style rac reg from into
inData=‘12345|张三|男‘
SELECT REGEXP_SUBSTR (inData, ‘[^|]+‘, 1,1) into 用户ID FROM DUAL;
SELECT REGEXP_SUBSTR (inData, ‘[^|]+‘, 1,2) into 用户姓名 FROM DUAL;
SELECT REGEXP_SUBSTR (inData, ‘[^|]+‘, 1,3) into 性别 FROM DUAL;
标签:regex 表达 用户id substr style rac reg from into
原文地址:http://www.cnblogs.com/Elcser/p/6483764.html