sql - Update field with data from another database -
need update field data field in different database
i have 2 sql commercial databases same company, first database has 1 field null in other
i need update field/database null data of first one.
ms sql server
update table1 in current database table1 in database called "databasename"
update table1 set col2 = t2.col2 databasename.dbo.table1 t2 table1.id = t2.id , table1.col2 null
Comments
Post a Comment