title: ORA-00936: missing expression using SELECT INTO local_variable
body: <p>I am trying to assing a result to a local variable in stored procedure sql.</p>
  
  <p>For example</p>
  
  <pre><code>Select c.parm_val from Cusomter.name c where c.id = '102';
  </code></pre>
  
  <p>The above query gives me a result like <strong><em>36,1508,4399,4403,4405,4407,4409,4411,4419</em></strong></p>
  
  <p>I want to assign it to a local variable
  So I created in stored procedure like below</p>
  
  <pre><code>DECLARE
  values VARCHAR2(500 BYTE);
  
  BEGIN
  Select into values c.parm_val from Cusomter.name c where c.id = '102';
  
  END
  </code></pre>
  
  <p>When I execute this I get different errors each time
  Something like PL/SQL: ORA-00936: missing expression</p>
  
  <p>I want to assign those result a variable. I don't know if I can use <strong>INSERT</strong> as it not a table. </p>
  
  <p>Can someone help me how to assign it to a variable.</p>