3,490
社区成员
发帖
与我相关
我的任务
分享
insert into regentd.couponschannelsheet
(guid, channelid)
Select v_coupon_id, b.Channelid
--into v_channelid
From (select c.Channelitemid, c.Channelid
from regentd.channel c
where c.Name like ('%(闭)%')
or c.name like ('%(闭)%')
and c.Channelitemid = '5B3BD6900E834CBBBB443EA2FB8872C1'
or c.Channelitemid = '8B1DC268C6BC466BB73F083D14B46EEF'
and c.incomecustomer is null) b
left Join regentd.Channelitemlist ct
On b.Channelitemid = ct.Id;
--values(v_coupon_id,v_channelid);
图中有效语句,不会出现这个错误。过程中,还有其他的语句吧。