Posted By

fugue on 11/10/09


Tagged

login mysql random


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

nerdfiles
dantreacy
jearley
kubaitis
virendrakryadav


Generate random string in MySQL


 / Published in: MySQL
 

  1. SELECT SUBSTRING(MD5(RAND()) FROM 1 FOR 6) AS randomstring

Report this snippet  

You need to login to post a comment.