Created
June 26, 2013 20:50
-
-
Save psdtohtml5/5871540 to your computer and use it in GitHub Desktop.
SQL: Update column with random numbers
This file contains 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
UPDATE users SET password = floor(rand() * 9999999999) WHERE role=4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment