Skip to content

Instantly share code, notes, and snippets.

@Arbagen
Created March 12, 2018 09:46
Show Gist options
  • Save Arbagen/f5c705ce0e9b5f140e368616b5ce2ea5 to your computer and use it in GitHub Desktop.
Save Arbagen/f5c705ce0e9b5f140e368616b5ce2ea5 to your computer and use it in GitHub Desktop.
mysql update random string (8 chars)
UPDATE table SET field = LEFT(UUID(), 8);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment