Advertisement
rakibhasan10

MySQL queries

Feb 21st, 2020
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.23 KB | None | 0 0
  1. SELECT id_product,REPLACE(description, 'http://', 'https://') FROM ps_product_lang WHERE description REGEXP 'http:\/\/'
  2. UPDATE ps_product_lang SET description=REPLACE(description, 'http://', 'https://') WHERE description REGEXP 'http:\/\/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement