PHV, thanks for your quick reply, it helped me out :)
Allthough I should have told you that I'm using MS T-SQL, which apparently differs from ANSI more than I thought. But I only had to tweak the commands minutely to get it working, here is what I ended up with:
UPDATE Table1
SET bb=(SELECT...
I need to copy data between columns from two identical tables.
I want to update rows, not add rows, so it's practically a restore.
Table1 contains the columns: aa, bb, cc
and Table2 contains the same columns (where aa is the key.)
There only difference is the Table1 contains more rows.
I'm no...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.