I'm getting the error shown below when I run the following query. What does it mean and how can I correct it?
TIA,
barkingdog
update CFD
set
CName = WMT.CName
from
(
select CF1 from CFD
intersect
select CF1 from WorkMTable
) as MatchTbl join WorkMTable as WMT
on (CFD.CF1 = MatchTbl.CF1)
where
(
(WMT.CName <> CFD.CName ) and
(CFD.MName =1)
)
Msg 4104, Level 16, State 1, Line 12
The multi-part identifier "CFD.CF1" could not be bound.