Replace String MySql

/ Published in: MySQL
Save to your folder(s)

Replace string mysql

Copy this code and paste it in your HTML
  1. UPDATE your_table
  2. SET your_field = REPLACE(your_field, 'articles/updates/', 'articles/news/')
  3. WHERE your_field LIKE '%articles/updates/%'

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.