title: expression 'string' cannot be used as an assignment target -SQL PLUS
body: <p>I wrote the following procedure which was meant to be anonymous and remove all the vowels from a string, but when I call it I get an error: I've followed the advice given in a similar post, but it didn't help:<a href="https://stackoverflow.com/questions/9977229/oracle-pls-00363-expression-cannot-be-used-as-an-assignment-target">Oracle PLS-00363: expression &#39;&#39; cannot be used as an assignment target</a></p>
  
  <pre><code>SQL&gt; CREATE OR REPLACE PROCEDURE disemvowel (string IN OUT NVARCHAR2)
  2  IS
  3  BEGIN
  4  DBMS_OUTPUT.PUT_LINE(translate(string,'euioa',''));
  5  END disemvowel;
  6  /
  
  Procedure created.
  </code></pre>
  
  <p>So good so far, but now I call it:</p>
  
  <pre><code>SQL&gt; BEGIN
  2  disemvowel('hahahahaha');
  3  END;
  4  /
  </code></pre>
  
  <p>The Error message says:</p>
  
  <pre><code>disemvowel('hahahahaha');
             *
  ERROR at line 2:
  ORA-06550: line 2, column 12:
  PLS-00363: expression 'hahahahaha' cannot be used as an assignment target
  ORA-06550: line 2, column 1:
  PL/SQL: Statement ignored
  </code></pre>