Update multiple columns from other Table via Join

 update franchisees
 set
 franchisees.posid=temp.POSID,
 franchisees.poskey=temp.[POS Key]
  from franchisees f
  inner join [Table_Two] temp on f.AccountCode=temp.AccountCode

Comments

Popular posts from this blog

Linq Exclude from separate list

Sorting Ascending and Descending

Linq Query Syntax vs Method Syntax