I'm trying to update 3 fields in one table with a query from another table. This is as far as I got. Here is the query which returns the values: (SELECT fprodcl, [m2mdata01].[dbo].soitem.fpartno, fgroup, m2mdata01.dbo.sorels.[identity_column] FROM [m2mdata01].[dbo].soitem INNER JOIN [m2mdata01].[dbo].sorels ON m2mdata01.dbo.soitem.[fsono] = m2mdata01.dbo.sorels.[fsono] AND m2mdata01.dbo.soitem.[finumber] = m2mdata01.dbo.sorels.[finumber]) as M2M
This is the portion of the Update statement I have: Update [CheltonCustomizations].[dbo].[soMods]set prodcl = m2m.fprodcl, fpartno = M2M.fpartno, fgroup = M2M.fgroup
Somods relates to the sub query because SoMods.fSOKey = M2M.identity_column. Can someone point me in the right direction?