2015-06-23, 06:33 PM
Also note that some databases (such as those being used in master-master replication) actually increment their IDs by 2 rather than 1, which is configurable in the database settings. Really, you're going about this all wrong. If you're having to guess ID values, you've failed in your architecture design.