Hi,
I need a way to read a numeric field and then increment it by one in such a
way that even if two users did this at the exact same time, they would still
each get their own unique value. I would prefer a method not requiring me
to lock the whole table.
What is the best way to accomplish this?
I am using MySQL 3.23.58 and I use an ISAM type database.
Thanks,
Lars
I need a way to read a numeric field and then increment it by one in such a
way that even if two users did this at the exact same time, they would still
each get their own unique value. I would prefer a method not requiring me
to lock the whole table.
What is the best way to accomplish this?
I am using MySQL 3.23.58 and I use an ISAM type database.
Thanks,
Lars
Comment