for example 100-character long
A:
Mabe use UUID's http://en.wikipedia.org/wiki/Universally_Unique_Identifier
mysql> select uuid();
+--------------------------------------+
| uuid() |
+--------------------------------------+
| 3aee88e2-a981-1027-a396-84f02afe7c70 |
+--------------------------------------+
1 row in set (0.30 sec)
clyfe
2010-03-04 17:02:48
How is this related to the question?
Ian P
2010-03-04 17:04:56
he does ask for unique alphanumeric content?
Pharabus
2010-03-04 17:08:07
+1
A:
- Define a column in a table to be VARCHAR(100)
- Make the column either the primary key or place a unique constraint on the column
OMG Ponies
2010-03-04 17:03:39
A:
I just answered this question for someone else, maybe an hour ago:
David Pfeffer
2010-03-04 17:04:35
If I had to guess, the OP of the question you linked is the same person (with a different account) as this OP. The questions are *very* similar and both accounts were created today.
Matt Ball
2010-03-04 17:08:06
A:
You can use the uuid generator as indicated by clyfe.
To store, the best discussion can be found at http://forums.mysql.com/read.php?98,49626,49626#msg-49626
unfortunately u need to jump through a few simple hoops to get this done.
Bharat Ahluwalia
2010-03-04 17:06:43