Home Forums SQL Server 2008 SQL Server Newbies UPDATE Check RE: UPDATE Check
ghanshyam.kundu
Hall of Fame
Points: 3337
More actions
September 27, 2011 at 1:36 am
#1386956
i am completely agree with jeff. and manipulating the query as per him
UPDATE p
SET Part_Cost = I.Vendor_Cost
FROM PART p inner join Part_Supplier PS on p.partid=ps.partid
INNER JOIN Inventory I on I.Part_Id = PS.Part_Id