I Have generated my own sequence based on the data. I need to compare the current sequence with the previous sequence generated from the data.
If both the sequences are same I should not increment the value. If the sequence are different I need to increment the sequence by using
Numeric.sequence system routine. How to do that?
- Generated sequence --1234567890 --1
- Next sequence --1234567890 --1
If Both has the sequence number generated the value should remain the same.