SQL拼接代码!cmstop系统

来源:互联网 发布:淘宝评分影响 编辑:程序博客网 时间:2024/04/30 16:58
 

update cmstop_content_meta u set u.data = (select  concat(concat(concat(concat('a:2:{i:3;a:1:{s:18:"magazineChargeFlag";s:1:"',concat(right(a.description,1),'"')),';}i:4;a:1:{s:9:"entity_id";s:9:"',left(replace(a.description,'15535,',''),9)),'";}}')) as data  from (SELECT * FROM `cmstop_content` where catid= 4421) c,cmstop_article a where a.contentid=c.contentid and length(a.description)>=11 and u.contentid=a.contentiid)  where u.contentid= 3645240 

0 0
原创粉丝点击