{"id":6623,"date":"2015-07-14T10:19:29","date_gmt":"2015-07-14T13:19:29","guid":{"rendered":"http:\/\/www.orabr.com\/oracle-bulk-processing-with-bulk-collect-and-forall\/"},"modified":"2015-07-14T10:22:29","modified_gmt":"2015-07-14T13:22:29","slug":"ORACLE-BULK-PROCESSING-WITH-BULK-COLLECT-AND-FORALL","status":"publish","type":"post","link":"https:\/\/orabr.virttus.com\/?p=6623","title":{"rendered":"ORACLE BULK PROCESSING WITH BULK COLLECT AND FORALL"},"content":{"rendered":"<p><HTML><HTML><\/p>\n<pre style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; -webkit-font-smoothing: antialiased; color: #000000; font-size: 12px; line-height: normal;\">DECLARE\r\n  l_names  DBMS_UTILITY.maxname_array;\r\nBEGIN\r\n  l_names (1) := \u2018Strawberry\u2019;\r\n  l_names (10) := \u2018Blackberry\u2019;\r\n  l_names (2) := \u2018Raspberry\u2019;\r\n\r\n  DECLARE\r\n    indx  PLS_INTEGER := l_names.FIRST;\r\n  BEGIN\r\n\r\n    WHILE (indx IS NOT NULL)\r\n    LOOP\r\n      DBMS_OUTPUT.put_line (l_names (indx));\r\n      indx := l_names.NEXT (indx);\r\n    END LOOP;\r\n  END;\r\nEND;\r\n\/<\/pre>\n<p>Leia mais sobre Oracle BULK COLLECT <a href=\"http:\/\/www.oracle.com\/technetwork\/issue-archive\/2012\/12-sep\/o52plsql-1709862.html\" target=\"_blank\">Mais<\/a><\/HTML><\/HTML><\/p>\n","protected":false},"excerpt":{"rendered":"<p>DECLARE l_names DBMS_UTILITY.maxname_array; BEGIN l_names (1) := \u2018Strawberry\u2019; l_names (10) := \u2018Blackberry\u2019; l_names (2) := \u2018Raspberry\u2019; DECLARE indx PLS_INTEGER := l_names.FIRST; BEGIN WHILE (indx IS&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,56],"tags":[],"class_list":["post-6623","post","type-post","status-publish","format-standard","hentry","category-base-de-conhecimentos","category-oracle"],"_links":{"self":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts\/6623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6623"}],"version-history":[{"count":1,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts\/6623\/revisions"}],"predecessor-version":[{"id":6624,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts\/6623\/revisions\/6624"}],"wp:attachment":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}