我正在尝试在 sql server 2008r2 上执行此查询-
SELECT @lUpd1 = 'UPDATE ts1cust.dbo.t_grgr_xwalk
SET xwalk.WEB = info.WEB,xwalk.AVIVIA = info.AVIVIA,xwalk.MSP = info.MSP,xwalk.QO = info.QO
FROM ts1cust.dbo.t_plan_mspqo_info info, ts1cust.dbo.t_grgr_xwalk xwalk
WHERE info.PLANID = xwalk.ID_471'
但得到以下提到的错误-
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "xwalk.WEB" could not be bound.