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.
How to get the next auto-increment id?
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)