title: Table,View Or Sequence reference 'SEQUENCE.NEXTVAL' not allowed in this context
body: <p>I'm having this error while trying to compile the following trigger :</p>
  
  <pre><code>CREATE OR REPLACE TRIGGER INCREMENTER_ID_CONSISTANCE 
  
  BEFORE INSERT ON BD.CONSISTANCE 
  for each row
  BEGIN
  :new.code := ID_CONSISTANCE.nextval;
  END;  
  
  
  **ERROR** : Table,View Or Sequence reference 'ID_CONSISTANCE.nextval' not allowed in
  this context  
  </code></pre>
  
  <p>What is the problem here ? and how can I fix this ?</p>