title: Pass a string array to PL/SQL from Pro*C
body: <p>I have a procedure in a package</p>
  
  <pre><code>create or replace package MyPack
    type MyArr is table of varchar2(30) index by pls_integer;
  
    prodecure MyProc(p in MyArr);
  end MyPack;
  </code></pre>
  
  <p>and I want to call it from Pro*C. So I have (all the rest of the function left out)</p>
  
  <pre><code>char my_arr[50][30] = {0};
  
  EXEC SQL EXECUTE
    BEGIN
      MyPack.MyProc(:my_arr);
    END;
  END-EXEC;
  </code></pre>
  
  <p>When I try to compile this I get the error </p>
  
  <p>"PLS-S-00418, array bind type must match PL/SQL table row type"</p>
  
  <p>Any ideas on what I am doing wrong?</p>