title: Oracle: unimplemented error due to execute immediate command
body: <p>I have given a task to create a procedure for copying data from the table and insert the copied data inside the same table and the change one of the column data. For example I have a table with with columns(ID, C1,C2....C20), the datas in column "ID" have same value and I want to change to another value after I copied it.
   I tried to use cursor and record since it returns a lot of data and the following is my procedure code:</p>
  
  <pre><code>  create or replace procedure copy_data(tab_name varchar2 ,column_to_change  varchar2, change_value varchar2, rowcount number)
  is
    stmt varchar2(100);
    stmt2 varchar2(100);
    type test_cursor is REF CURSOR ;
    cur_cv test_cursor;
    v_test_rec job%rowtype;
  begin
    stmt := 'v_test_rec.'||column_to_change;
    stmt2 := 'insert into ' || tab_name || ' values v_test_rec ';
    open cur_cv for 'select * from ' || tab_name;
    loop
    fetch cur_cv into v_test_rec;
    stmt := change_value;    
    execute immediate (stmt2);
    exit when cur_cv%rowcount &gt; (rowcount - 1); 
    end loop;
    close cur_cv;
  end;
  /
  </code></pre>
  
  <p>tab_name is the table to copy data from, column_to_change is the column that I want to change the data inside, change_value is the value I want to change to from column_to_change,  rowcount is the total count of the column.</p>
  
  <p>when I compiled it, it was success, but when I execute it :</p>
  
  <pre><code>execute copy_data ('job', 'ccn_cd', 'ITUE02', 112);
  </code></pre>
  
  <p>I got error, and the error is following:</p>
  
  <pre><code>ORA-03001: 
  ORA-06512: "HR.COPY_DATA", 行16
  ORA-06512: 行1
  03001. 00000 -  "unimplemented feature"
  *Cause:    This feature is not implemented.
  *Action:   None.
  </code></pre>
  
  <p>I am trying to understand which part of my code was wrong but still can't figure it out. I am sorry that my english isn't that good. Can anyone give me some hints or solutions to my problem?
  Thank you. </p>