OK, let's say I'm building a forum. I have on unique autoincrement id for each message of the forum. I have also on threadid which cannot be a autoincrement. I have to update that one manually. I have to get the latest value of that one. In Oracle I create a sequence and use nextval. I "know" that I will get a unique then. I know I can use "select max(threadid)" in mysql but it "can" result in two people requesting and getting the same threadid. It's a very small risk but I don't want to live with that risk. Isn't there any function for this?
Thanks / Henrik
Thanks / Henrik