title: SQL Error: ORA-00904: "CNPPARMID": invalid identifier
body: <p>I have a function:</p>
  
  <p>At line execute immediate 'select ' || schemaname || '.' || value1 || '_seq.nextval from dual' into cnpParmId;</p>
  
  <p>Am getting error as SQL Error: ORA-00904: "CNPPARMID": invalid identifier.
  I tried to put the cnpParmId inside the quotes, tried into cnpParmId from dual, in all possible ways. But its not working. 
  Please give me some ideas to solve this issue.
  Thanks!!</p>