As I'm working in a Real Time Project, the database now contains 22digit indexes. We're using Oracle10g. I want to know, whether we can set the Index to reset(to start from 0th Index) when it reaches the limit.
You need the CYCLE clause in your sequence DDL. If it does not have a max value... you will need to add it to the Alter below (for example of max... look at the create that follows the alter code).
To alter it
To create it...
I'd be surprised if you hit your limit any time soon. [ November 24, 2008: Message edited by: Paul Campbell ]