Posted by JM on 11/20/06 19:29
For a unique id we don't want to use an auto_increment, but want to
construct a unique id incorporating a sequence (combination of letters
and a number) to make it more meaningful and to distinguish between
different projects and servers (alternative would be to create primary
key on more than one field). Using Google and the PEAR manual I found
the create sequence statement for MySQL. The create sequence statement
is mentioned on dev.mysql.com but not in the MySQL manual.
How come ? Is it dangerous to use it ? Prone to errors ? Bad programming
style ?
Or did they forget to mention it ?
thanx
JM
Navigation:
[Reply to this message]
|