oracle 截取数据

select  REGEXP_SUBSTR('sfd|fdsjfb|ndjfds|bdfbsdf|fndjfjsdf|36174wfe|dfd', '[^|]+', 1, 1),
  REGEXP_SUBSTR('sfd|fdsjfb|ndjfds|bdfbsdf|fndjfjsdf|36174wfe|dfd', '[^|]+', 1, 2) from dual;

你可能感兴趣的:(oracle 截取数据)