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
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
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us