title: Oracle: sequence MySequence.currval is not yet defined in this session
body: <p>What does this mean, and how can I get around it?</p>
  
  <pre><code>SELECT MySequence.CURRVAL FROM DUAL;
  </code></pre>
  
  <p>Result:</p>
  
  <blockquote>
    <p>ORA-08002: sequence MySequence.CURRVAL is not yet defined in this session</p>
  </blockquote>