SQL replace record replacement notes

Source: Internet
Author: User

Here we use the SQL replace function to operate the dedecms database. Now I want to change the image address litpic OF THE dedecms database and the address in introduce to an operation note for a second-level domain name address, if you need it, you can check it out.

The following is a database tutorial using the SQL replace function to operate dedecms. I want to change the image address litpic OF THE dedecms database and the address in introduce to the Operation Note of a second-level domain name address, if you need it, you can check it out.
Http://upload.bKjia. c0m/image/201001302300192.jpg


Update 'd _ archives 'set litpic = replace (litpic, 'HTTP: // g.111cn.cn ', 'HTTP: // upload. bKjia. c0m') where id = 13696


Http://down.bKjia. c0m/uploads/allimg/101029/1 _21232xj3.jpg

=

Http://upload.bKjia. c0m/allimg/101029/1 _21232xj3.jpg

Http://down.bKjia. c0mhttp: // upload. bKjia. c0m/101117/1 _093843_1.png

//

Select * from d_addonsoft where 'inserted' like '% http://down.bKjia. c0m/uploads/%'

Update 'd _ archives 'set litpic = replace (litpic, 'HTTP: // down. bKjia. c0mhttp: // ', 'HTTP: //') where id = 8470

This site original tutorials reprinted indicated from http://www.bKjia. c0m otherwise required

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.