Advertisement
psi_mmobile

Untitled

Mar 16th, 2021
1,290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.40 KB | None | 0 0
  1. SELECT REGEXP_SUBSTR(name, '[^|]+', 1, 1) FIELD_1,
  2.   REGEXP_SUBSTR(name, '[^|]+', 1, 2) FIELD_2,
  3.   REGEXP_SUBSTR(name, '[^|]+', 1, 3) FIELD_3,
  4.   REGEXP_SUBSTR(name, '[^|]+', 1, 4) FIELD_4,
  5.   REGEXP_SUBSTR(name, '[^|]+', 1, 5) FIELD_5,
  6.   REGEXP_SUBSTR(name, '[^|]+', 1, 6) FIELD_6
  7. FROM oc_poi
  8. WHERE oc_poi_category_id = 101901
  9. AND oc_poi_status_id = 0
  10. AND REGEXP_SUBSTR(name, '[^|]+', 1, 6)  IS NULL;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement