mysql
文章平均质量分 51
skyito88
仅仅当作笔记使用..备忘录.... 没有其他的用途.
展开
-
批量设置seo,哈 2000多个栏目页
mysql> UPDATE from zbp_category SET cate_Meta12=concat(cate_Meta1,cate_Meta2);1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from zbp_category SET cate_Meta1原创 2022-04-18 18:47:46 · 577 阅读 · 0 评论 -
同表 把A列和B列的数据合并为C列
UPDATE from zbp_category SET cate_Meta1=concat(cate_Meta,cate_Name);mysql> UPDATE from zbp_category SET cate_Meta1=concat(cate_Meta,cate_Name);1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versi原创 2022-04-18 16:46:39 · 1029 阅读 · 0 评论 -
批量修改栏目
比如, 标题里面含有' 温州' 字样. 把栏目,改成 温州, 对应的栏目下.UPDATE zbp_post SET log_CateID='123' WHERE log_Title LIKE '%温州%';原创 2022-04-16 20:12:16 · 381 阅读 · 0 评论