update a set a.BName = b.Name from 表1 as a,表2 as b where a.BRowGuid = b.RowGuid and a.BName <> b.Name