Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

update sql server from another table

UPDATE t1
SET t1.column = t2.column
FROM Table1 t1 
INNER JOIN Table2 t2 ON t1.id = t2.id;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #sql #server #table
ADD COMMENT
Topic
Name
8+4 =