Trying to run this…
update Members
set StaffDept = newaddresstoimport.StaffDept
where Members.AlternateId = 20870824
getting this back…
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "newaddresstoimport.StaffDept" could not be bound.
Basically I want all the StaffDept ID's in the members table updated from the newaddresstoimport table where the AlternateId's in both match.
Just trying the above as a tester and no go yet
update Members
set StaffDept = newaddresstoimport.StaffDept
where Members.AlternateId = 20870824
getting this back…
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "newaddresstoimport.StaffDept" could not be bound.
Basically I want all the StaffDept ID's in the members table updated from the newaddresstoimport table where the AlternateId's in both match.
Just trying the above as a tester and no go yet
