title: Iterate over table of objects in Oracle
body: <p>How should I iterate over a table of objects like this?</p>
  
  <pre><code>CREATE TYPE SOME_OBJECT AS OBJECT (
    ATTR1 VARCHAR2(20)
  , ATTR2 VARCHAR2(30)
  );
  /
  
  CREATE TYPE C_SOME_OBJECT AS TABLE OF SOME_OBJECT;
  /
  </code></pre>
  
  <p>And... I want to use this as a parameter for a procedure. Have to initialize it in procedure?</p>
  
  <pre><code>PROCEDURE SOME_PROCEDURE(OBJECT IN C_SOME_OBJECT)
  IS
  BEGIN
    --Some code here iterating IN parameter
  END;
  </code></pre>