Ok here is the situation:I know that I can do an update with a join together. It does work however if I want to update 2 different valuesSo say we have table A and Table B Update A set A.Field = 'XYZ' FROM B JOIN A on A.SomeField = B.SomeField WHERE SomeCriteria
This works for me... when I have 1 item to set, but I have to set 1 Item in 1 and 1 Item in the joined tableUpdate A set A.Field = 'XYZ', B.SomeField = '1234' FROM B JOIN A on A.SomeField = B.SomeField WHERE SomeCriteria
The above doesnt work saying that b.Somefield does not exist.Any hints???"I live for programming"www.aliabidhusain.net