MySQL Forums
Forum List  »  PHP

Re: Generate random unique IDs
Posted by: Steven R
Date: September 24, 2008 05:08PM

Ok, I gotta read up on cursors. I see it has something to do with stored procedures and I'm trying to work through the manual right now. But my understanding of all this is still a bit shaky to say the least. So far only worked with basic commands like INSERT, SELECT, UPDATE, never with procedures or cursors.

Would you mind to elaborate a bit on your suggestion so I can "get it" quicker? Thanks!

Edit: After reading how procedures and cursors work, it seems you'd still need that huge table with pre-arranged ID numbers to parse through with the cursor, right? I was hoping to avoid that. Or am I seeing this wrong?



Edited 1 time(s). Last edit at 09/24/2008 10:17PM by Steven R.

Options: ReplyQuote


Subject
Written By
Posted
September 17, 2008 01:58AM
September 17, 2008 10:28PM
Re: Generate random unique IDs
September 24, 2008 05:08PM
January 29, 2009 08:09AM
January 29, 2009 11:58PM
September 30, 2008 07:58PM
October 03, 2008 11:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.