![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 15 Dec 2011 @ 19:49:04 GMT
David, I would use the update with a from
Update a
From db1.tbl1 a
,db2.tbl1 b
Set col1 = b.col1
Where a.key = b.key
If you want to fix your logic below, just clarify the database.tablename on the "from table" columns. Thanks, Robert Diehl
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||