028-86922220

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

字符串拼接应用

需求:在一个字符串后面追加指定的json串(一般是json串)

CREATE PROCEDURE `update_add_white`(
in update_info VARCHAR(255)

COMMENT '增加白名单' 
BEGIN
set @update_whilte=(select left(cfg_value,LENGTH(cfg_value)-1) from common_config_bak where id=112);
set @updated_whilte=(select concat(@update_whilte,update_info));
update common_config_bak set cfg_value=@updated_whilte where id=112;
set @updated_info=(select cfg_value from common_config_bak where id=112);
select @updated_info 'updated_info';
END 

名称栏目:字符串拼接应用
文章位置:http://www.tsicrk.com/article/jhdosp.html

其他资讯

让你的专属顾问为你服务

2.4647s