I have a table called tbl on server svr1, database db1, owner is dbo
I want to update it from server svr2, database db2
I wrote a query
update svr1.db1.dbo.tbl
set col1 = case when col1 = 1 then 1.0
else 2.0
end
where col2 = 'aa'
but it is complaining
what should I do to update tbl
Thanks
I want to update it from server svr2, database db2
I wrote a query
update svr1.db1.dbo.tbl
set col1 = case when col1 = 1 then 1.0
else 2.0
end
where col2 = 'aa'
but it is complaining
what should I do to update tbl
Thanks