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

01.30.2012
| 5018 views |
  • 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