DEDECMS Bulk substitution of statements using SQL commands

Source: Internet
Author: User

1. Change the content in the article

Update dede_addonarticle set Body=replace (body, ' original character ', ' replaced character ')

2, replace the article title

Update dede_archives set Title=replace (title, ' original character ', ' replaced character ');

3. Replace article keywords

Update dede_archives set Keywords=replace (keywords, ' original character ', ' replaced character ');

4, replace the article description

Update dede_archives Set Description=replace (description, ' original character ', ' replaced character ');

5. Change the thumbnail directory

Update dede_archives Set Litpic=replace (Litpic, ' original character ', ' replaced character ')

6. Bulk replacement of software model content partial hyperlinks

Pdate Dede_addonsoft Set Introduce=replace (introduce, ' original characters ', ' substituted characters ');

7. Bulk replace author fields in the article model

Update dede_archives set Writer=replace (writer, ' original character ', ' replaced character ');

8. Bulk replace the source field in the article model

9. Bulk replacement software model demo address hyperlink

Update Dede_addonsoft Set Writer=replace (Officialurl, ' original character ', ' replaced character ');

10. Batch review articles

Update dede_archives Set arcrank=0

Note: arcrank=0 only dynamic

DEDECMS Bulk substitution of statements using SQL commands

Related Article

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.