title: ORA-00911 invalid character
body: <p>Anyone help me with this error</p>
  
  <pre><code>declare  
    cursor cur1 is  
      select owner,table_name from dba_tables;  
    c1 cur1%rowtype;  
    str varchar2(1000);  
  begin  
    for c1 in cur1 loop  
      str:='analyze table '||c1.owner||'.'||c1.table_name||' list chained rows';  
      execute immediate str;  
    end loop;  
  end;  
  /  
  </code></pre>
  
  <pre>
  declare
  *
  ERROR at line 1:
  ORA-00911: invalid character
  ORA-06512: at line 9
  
  </pre>