Created
July 10, 2013 20:40
-
-
Save rileypaulsen/5970123 to your computer and use it in GitHub Desktop.
capitalize the first letter of mysql entry
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 wp_postmeta set meta_value = CONCAT(UCASE(SUBSTRING(meta_value, 1, 1)), LOWER(SUBSTRING(meta_value FROM 2))) WHERE meta_key='firstname' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment