Hi Noel & Thomas, Thanks for the info.
I suspected that it might be something to do with the process being killed, although in my case it seems to have happened when, as far as I can tell, that hasn't been the case. Anyway, I'm most of the way through writing a function that monitors the situation and takes corrective action whenever necessary. Regards, Noel L On Saturday, 16 August 2014 21:54:28 UTC+10, Thomas Mueller wrote: > > Hi, > > Some more detail: numbers are only skipped if the process is killed. > > Regards > Thomas > > On Saturday, August 16, 2014, Noel Grandin <[email protected] > <javascript:>> wrote: > >> You can't is the short answer. >> IDENTITY columns and their underling SEQUENCEs are not guaranteed to >> always increase by one. >> For optimisation reasons, it may sometimes skip some numbers. >> If you really numbers increasing by one all the time you will have to >> implement it by hand. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "H2 Database" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/h2-database. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
