This is probably what you want:
update wp_users set user_email = lower(user_email) where user_email is not null;
However I’m surprised you need this: WordPress’s default collation is case-insensitive.
Related Posts:
- What is the difference between UNION and UNION ALL?
- Selecting COUNT(*) with DISTINCT
- ORA-00904: invalid identifier
- Unknown column in ‘field list’ error on MySQL Update query
- The wait operation timed out. ASP
- When should I use CROSS APPLY over INNER JOIN?
- Insert Data Into Temp Table with Query
- How to create Temp table with SELECT * INTO tempTable FROM CTE Query
- SQL SELECT WHERE field contains words
- Using group by on multiple columns
- Efficiently convert rows to columns in sql server
- Nested select statement in SQL Server
- What’s the difference between VARCHAR and CHAR?
- How to split the name string in mysql?
- How do you trouble shoot a “Data type mismatch in criteria expression” error in MS Access 2010?
- Sql Server equivalent of a COUNTIF aggregate function
- Column name or number of supplied values does not match table definition
- Inserting data into a temporary table
- How to Select Top 100 rows in Oracle?
- Simple PHP Pagination script
- CREATE VIEW must be the only statement in the batch
- SQL Server FOR EACH Loop
- ORA-12560: TNS:protocol adaptor error
- How can I select the first day of a month in SQL?
- Warning: Null value is eliminated by an aggregate or other SET operation in Aqua Data Studio
- SQL – HAVING vs. WHERE
- Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)
- What’s the difference between RANK() and DENSE_RANK() functions in oracle?
- When to use “ON UPDATE CASCADE”
- MySQL combine two columns into one column
- How to SUM two fields within an SQL query
- DateTime2 vs DateTime in SQL Server
- ORA-01861: literal does not match format string
- Difference between numeric, float and decimal in SQL Server
- SQL Server Insert if not exists
- SQL Server: Invalid Column Name
- “ORA-01438: value larger than specified precision allowed for this column” when inserting 3
- ERROR: there is no unique constraint matching given keys for referenced table “bar”
- How do I query for all dates greater than a certain date in SQL Server?
- String or binary data would be truncated. The statement has been terminated
- Error converting data type varchar to float
- How to concatenate text from multiple rows into a single text string in SQL Server
- Count(*) vs Count(1) – SQL Server
- Remove duplicate rows in MySQL
- Cast from VARCHAR to INT – MySQL
- Conversion failed when converting the varchar value ‘simple, ‘ to data type int
- postgresql: error duplicate key value violates unique constraint
- Is there a workaround for ORA-01795: maximum number of expressions in a list is 1000 error?
- ORA-06502: PL/SQL: numeric or value error: character string buffer too small
- “You tried to execute a query that does not include the specified aggregate function”
- How to write a SQL DELETE statement with a SELECT statement in the WHERE clause?
- Insert into a MySQL table or update if exists
- How to round down to nearest integer in MySQL?
- Convert timestamp to date in Oracle SQL
- How do I reset a sequence in Oracle?
- MySQL error: key specification without a key length
- SQL: Two select statements in one query
- Update statement with inner join on Oracle
- Check if MySQL table exists without using “select from” syntax?
- mysql update column with value from another table
- Can I use multiple “with”?
- SQL Server dynamic PIVOT query?
- Incorrect syntax near ”
- MySQL: Can’t create table (errno: 150)
- Join vs. sub-query
- Alternative to except in MySQL
- What does Include() do in LINQ?
- SQL Server “cannot perform an aggregate function on an expression containing an aggregate or a subquery”, but Sybase can
- Get everything after and before certain character in SQL Server
- LEFT function in Oracle
- Arithmetic overflow error converting varchar to data type numeric. ’10’ <= 9.00
- Difference between EXISTS and IN in SQL?
- What does * mean in sql?
- INSERT VALUES WHERE NOT EXISTS
- Using union and order by clause in mysql
- Difference between `load data inpath ` and `location` in hive?
- How to implement LIMIT with SQL Server? [duplicate]
- What’s the best way to dedupe a table?
- Cannot insert explicit value for identity column in table ‘table’ when IDENTITY_INSERT is set to OFF
- Moving database with phpMyAdmin
- WordPress SQL LIKE request doesn’t work for fields with special symbols
- How do I escape a table name or column name in SQL? esc_sql doesn’t do this
- Fetch all Posts where logged in user has commented
- Best Way to Merge a Dev and Live Site to Become a Staging Site?
- Needing to move content from postmeta to posts in sql [closed]
- Better way to migrate to server?
- WooCommerce database query : Get product category image path+name from thumbnail_id [closed]
- WordPress can I manually add columns in users table and display it in the default manage user plugin and registration form? [closed]
- What does the $posts_join filter join to?
- Help me SELECT thumbnail from SQL and use
- How to delete ALL comments from certain category in WordPress database?
- Why is my insert row only inserting the final row from the loop into the database rather than just inserting one
- What steps do I need to take to install a local copy of a live website?
- Duplicate WP Migration affecting site on separate domain?
- Analog category_and (WP) in sql query
- Creating a “forum” – showing last post or last commented post
- Replace Unwanted Space in Post Content URL
- How to write inner join using posts_clauses?
- Firebase with WordPress instead of SQL?
- Want to delete woocommerce coupon in bulk from phpmyadmin based on published date