/ Published in: MySQL
Expand |
Embed | Plain Text
# Replace string in all records from a table UPDATE table_name SET column_name = REPLACE( column_name, '/dev', '' ); # Display a modified record set SELECT REPLACE( column_name, '/dev', '' ) FROM table_name;
You need to login to post a comment.
