Remove all spaces from the entire column in mysql

Is there a way to remove all whitespaces from a specific column for all values?
Deepak Sharma
Asked 13-12-2024
144

Answer (1)
hi here is code for this UPDATE `t1` SET `col1` = REPLACE(`col1`, ' ', '')
Ankur Rajput
Asked 09-11-2019
45 Likes
Comments
Write comment

Submit your answer