title: Trying to take user input in plsql but not working
body: <pre><code>SET SEROUTPUT ON;  
  accept designation char PROMPT 'enter designation' ;  
  DECLARE      
      v_salary_inc number;  
        v_desg varchar2(20) := &amp;designation;
  
  BEGIN  
      v_salary_inc := case v_desg   
          when 'manager' then .3  
          when 'lead' then .18  
         when 'senior engg' then .1  
          else .05  
          end;  
          dbms_output.put_line('your salary increase is :' || v_salary_inc);         
  END;  
  </code></pre>
  
  <p>Error report -  </p>
  
  <pre class="lang-none prettyprint-override"><code>ORA-06550: line 3, column 24:  
  PLS-00201: identifier 'MANAGER' must be declared  
  ORA-06550: line 3, column 12:  
  PL/SQL: Item ignored  
  ORA-06550: line 6, column 23:  
  PLS-00320: the declaration of the type of this expression is incomplete or  
   malformed
  </code></pre>