Advertisement
Guest User

Untitled

a guest
Dec 12th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. DO
  2. $BODY$
  3. DECLARE
  4. js json := '["112","26","85","13","534"]';
  5. i record;
  6. BEGIN
  7. FOR i IN SELECT * FROM json_array_elements_text(js)
  8. LOOP
  9. RAISE NOTICE ' %', i;
  10. END LOOP;
  11. END;
  12. $BODY$;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement