title: How do you get the next value in a sequence into a variable?
body: <p>So I'm writing a stored procedure and am having trouble getting the next value of a sequence into a variable. </p>
  
  <p>The sequence name is passed into the function and is stored as a <code>varchar2</code> variable. How can you get the next value in that sequence into a local variable.  </p>