Retrieve the next number in the sequence.
Each value returned by get_next_value is unique and will never be returned again by a subsequent call, regardless of whether current the transaction is committed or aborted.