destoon批量修改分类seo标题、关键词、描述、模板sql语句
用阿里云rds修改数据库自动生成的语句,可以批量修改,在此记录一下,以备后用!
destoon批量修改分类seo标题、关键词、描述sql语句:
update `destoon_category` set `seo_title`='西藏蔬菜特产_西藏特产蔬菜有哪些_西藏有什么蔬菜特产',`seo_keywords`='西藏蔬菜特产,西藏特产蔬菜有哪些,西藏有什么蔬菜特产',`seo_description`='西藏蔬菜特产,提供西藏蔬菜特产图片、介绍、资料。西藏特产蔬菜有哪些?西藏有什么蔬菜特产?就上。' where `catid`=397;
update `destoon_category` set `show_template`='show-zixuncisccd' where `catid`>=368 and `catid`<=397;
UPDATE destoon_special SET seo_description = REPLACE(seo_description, '2015', '2017') ;