In MySQL, I have a column containing URLs (id, url):
I need to modify the word "updates" to "news". Will it possible to do this with a script?
You can use the below code:
SET your_field = REPLACE(your_field, 'articles/updates/', 'articles/news/')
WHERE your_field LIKE '%articles/updates/%'
Now rows that were like
Want to become a SQL Expertise? You can register to this SQL Course and get certified.