How to get the next auto-increment id?
#11
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.
Reply


Messages In This Thread
RE: How to get the next auto-increment id? - by Euan T - 2015-06-23, 06:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)