MySQL Forums
Forum List  »  Newbie

Is there a sequence in MySql?
Posted by: Justin Tsao
Date: December 20, 2007 07:12AM

Hi, everyone. Is there anything like sequence in MySql as in Oracle?

I want a globe sequence of the database. Whenever I access the sequence, it automatically increase by, say, 1. But it doesn't have to insert any row to any table. The only thing I want is a globe unique number.
How could I achieve that?

Thanks a lot.

Options: ReplyQuote


Subject
Written By
Posted
Is there a sequence in MySql?
December 20, 2007 07:12AM
January 06, 2008 10:51PM


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.