/ Published in: SQL
Expand |
Embed | Plain Text
SELECT CONV(FLOOR(RAND() * 99999999999999), 10, 36);
Comments
Subscribe to comments
You need to login to post a comment.
stancell on 04/21/08
1 person have marked this snippet as a favorite
SELECT CONV(FLOOR(RAND() * 99999999999999), 10, 36);
Subscribe to comments
You need to login to post a comment.
This will create passwords from A-Z 0-9. Special characters are not randomly created. A better implementation is here: http://mysql-0v34c10ck.blogspot.com/2011/06/truly-random-and-complex-password.html