May 18, 2005 #1 Bell1991 Programmer Aug 20, 2003 386 US I have two tables: TableA name source TableB name source I want to update TableA column source with TableB coulmn source.. Please help! Thanks
I have two tables: TableA name source TableB name source I want to update TableA column source with TableB coulmn source.. Please help! Thanks
May 18, 2005 #2 DotNetGnat Programmer Mar 10, 2005 5,548 IN Try this: UPDATE TABLEA SET TableA.source=TableB.source FROM TableB WHERE TableA.name=TableB.name -DNG Upvote 0 Downvote
Try this: UPDATE TABLEA SET TableA.source=TableB.source FROM TableB WHERE TableA.name=TableB.name -DNG
May 18, 2005 #3 PHV MIS Nov 8, 2002 53,708 FR UPDATE TableA INNER JOIN TableB ON TableA.name=TableB.name SET TableA.source=TableB.source; Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
UPDATE TableA INNER JOIN TableB ON TableA.name=TableB.name SET TableA.source=TableB.source; Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886