Skip to content

Instantly share code, notes, and snippets.

@ankitnetwork18
Created January 11, 2013 11:41
Show Gist options
  • Save ankitnetwork18/4510118 to your computer and use it in GitHub Desktop.
Save ankitnetwork18/4510118 to your computer and use it in GitHub Desktop.
mysql: remove all spaces from values and change it to lower case
UPDATE cities SET city_state = lower(trim(city_state))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment