Created
May 1, 2013 13:25
-
-
Save cbmeeks/5495266 to your computer and use it in GitHub Desktop.
Generate Random String in MySQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select substring(md5(rand()) from 1 for 16) as salt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment