Click here to Skip to main content
15,914,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
can we update the table using joins it is possible
Posted

1 solution

Yes it is possible!

Example query:
SQL
UPDATE s
SET s.shipped_date = q.shipdate
FROM shipping AS s
JOIN query AS q
ON s.cn = q.cn
AND s.csn = q.cn
 
Share this answer
 
Comments
Lantei 6-Sep-10 7:07am    
Reason for my vote of 5
Good!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900