字符串拼接应用

需求:在一个字符串后面追加指定的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://xwwzsj.com/article/jhdosp.html

其他资讯

售后响应及时

7×24小时客服热线

数据备份

更安全、更高效、更稳定

价格公道精准

项目经理精准报价不弄虚作假

合作无风险

重合同讲信誉,无效全额退款