Viewing 2 posts - 1 through 3 (of 3 total)
this should work for you
update tableA
set column_A = column_B
from tableA
inner join tableB
on tableA.codigo = tableB.codigo
and this do the trick also.
god i´m feeling so dumb right now:hehe:
thank you...
March 28, 2011 at 10:12 am
#1304466
If you're using SQL 2008, as per the forum you posted in, try using a Merge statement to get this done:
MERGE INTO table_A
USING tableB
ON table_A.codigo = tableB.codigo
WHEN MATCHED AND...
March 28, 2011 at 10:07 am
#1304459