Answers for "update table from different database"

SQL
0

sql update from two different database

update table_name1
set column_name = T2.column_name
from database_name.dbo.table_name2 as T2
  where table_name1.ID = T2.ID
Posted by: Guest on August-26-2020
0

sql update from two different database

update table1
set col2 = T2.col2
from DataBaseName.dbo.table1 as T2
  where table1.ID = T2.ID and
        table1.col2 is null
Posted by: Guest on August-26-2020

Code answers related to "update table from different database"

Code answers related to "SQL"

Browse Popular Code Answers by Language