use kmadv_v999 --修改需要执行的库名
alter table bi_t_item_e disable trigger all --关闭触发器
update w set memo='备注内容' --更新memo备注的内容
from bi_t_item_e w inner join bi_t_item_info i on i.item_id=w.item_id --通过item_ID关联两张表的商品信息
where i.item_clsno='类别编码' --设置条件为某一类别编码
alter table bi_t_item_e enable trigger all --打开触发器
作用:保资电子价签需要显示特定信息,比如“生产日期:当天 保质期:冷藏2天,冷冻5天”之类的字样,用于批量给某一类别下的商品修改备注,修改后找保资技术对接关联bi_t_item_e表下的列memo(备注列)参数即可