DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Update Table Using Inner Join Sql Server

  • submit to reddit
        // update table using inner join sql server

UPDATE table1 t1 SET column1=value
  FROM table1 INNER JOIN table2 t2 ON t1.key = t2.key