Click here to Skip to main content
15,885,694 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i altra the table7 with new column2 but how to insert the column 3 in table1to taable 7
Posted
Comments
Om Prakash Pant 21-Feb-14 4:45am    
Can you provide more details with an example on what you are trying to accomplish?

1 solution

SQL
UPDATE b SET a.column2=b.column3
FROM table7 a
JOIN table1 b
ON a.id = b.id
 
Share this answer
 

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