SQL Bulk Exchange Dedecms article source and author

Source: Internet
Author: User

In front of a modified dedecms the default article source "Unknown" to the keyword, that is, the article "source" after the revision will become their own set of keywords, if the changes have been a lot of articles, those articles "source" still show "Unknown", How do I bulk replace dedecms article sources and authors? This can be accomplished with the following SQL statement:

12 UPDATE dede_archives SET  writer=‘康爱‘WHERE writer=‘admin‘;UPDATE dede_archives SET  source=‘康爱眼科‘WHERE source=‘‘;

Publish the article writer by default with admin, document source from source default is empty

SQL Bulk Exchange Dedecms article source and author

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.