Can you manually update the last_value in a sequence? I moved some data around and manually put in some of the sequence numbers.. I fixed the problem.. but was wondering for furture reference.
Travis